Java Bangla Tutorials 69 : Assignment 17 | pattern

preview_player
Показать описание
➡️ In this video, I will share the seventeenth java assignment. Complete the assignment as soon as possible.
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:11) Assignment 17
⌨️ (01:55) outro

🛑 Web development? Checkout following playlists :

🛑 Programming languages? Check out the following playlists:

🛑 Android development? Check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out the following playlists-

🛑 CSE Students? Checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? Checkout following playlists :

#java #anisul_islam #java_bangla_tutorial #web_development #bangla_web_development #andorid #javaprogramming #javatutorial #bangla_tutorial #java_anisul_islam
Рекомендации по теме
Комментарии
Автор

Thank You Bhaiya, Eto Sundor Vabe Bojhanor Jonno. Khub Helpful Panar Video Dekhe, ei matro ek tana 70 khana video ses korlam prothon theke sotti ja ektu dought chilo puro clear ekhon apanr video dekhe, sobaike recomnd korechi bhaiyar 1 theke 70 hocche puro puri basic java r video. obossoi dekhun kichu sikhe rate ghumote jete parben. Khub Bhalo Thakben, Onek Channel Explore kore ekta sothik channel er khoj peyechi. Love from India.

tamalbarman
Автор

thank you very much sir, , 💖💖💖💖😊😊. Allah apnar mongol koruk.onek onek dua roilo

nusratjahan-ydnd
Автор

Thank you, sir! This assignment helps me to think differently for a logic!
import java.util.Scanner;

public class Assignment17 {
public static void main(String[] args){
Scanner in= new Scanner(System.in);
int n, row, col;
System.out.print("How many lines: ");
n = in.nextInt();
in.close();
for(row=1; row<=n; row++){
for(col=1; col<=row; col++){
System.out.print(" "+col%2);
}
System.out.println(" ");
}
}
}

xtrangegaming
Автор

Assignment-17:

int n, row, col;
n = 4;

for (row=1; row<=n; row++){
for (col=1; col<=row; col++)
if(col%2==0){
System.out.print("0 ");
}else{
System.out.print("1 ");
}
System.out.println();
}

Thank you, Sir!

HamidaAkhterChowdhury
Автор

package assingment;

public class Assignment17 {

public static void main(String[] args) {

int n = 4;
for (int row = 0; row <= n; row++) {
for (int col = 1; col <= row; col++) {
if (col%2==0) {
System.out.print("0");
}else{
System.out.print("1");
}
}
System.out.println();
}
}
}

MdTanjid-hdjd
Автор

package Assignment_17;

import java.util.Scanner;

public class pattern {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

System.out.print("Please enter line number : ");
int n = input.nextInt();

for (int row = 1; row <= n; row++) {
for (int col = 1; col <= row; col++) {
System.out.print(" " + col % 2);
}
System.out.println();
}
}

}

miadhossen
Автор

vai.. envato themeforest e as a web designer/web developer kaj korar jonno ki korte pari ba valo mentor k ace ? jodi deteails bolten...?

mobileboss
Автор

import java.util.Scanner;


public class Pattern {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);

int n;
System.out.println("How many lines: ");
n=input.nextInt();
for (int row = 1; row <= n; row++) {
for (int col = 1; col <= row; col++) {

System.out.print(" "+col%2);
}
System.out.println();
}




}
}

mdashrafuddin
Автор

package assignment;
import java.util.Scanner;

public class AssignmentSeventeen {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);

System.out.print("Enter the value of N = ");
int n = input.nextInt();

for (int i = 1; i <= n; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(j % 2 + " ");
}
System.out.println();
}
}
}

shariarnafiz
Автор

As-Salamu Alaykum Anisul Bhai. Next JS course start korar kono plan ache naki vaia? jodi next js course jodi start korten. apnar kache dabi eta.

mdsumonh.shohan
Автор

sir please front end developer জন্য একটা প্লেলিস্ট এবং back end developer জন্য একটা প্লেলিস্ট করেন

MdMomin-kfcd
Автор

Assignment 17 (DONE)

package trial;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {

Scanner sc = new Scanner(System.in);

System.out.print("Enter number: ");
int num = sc.nextInt();

int i, j;

for(i=1;i<=num;i++)
{
for(j=1;j<=i;j++)
{
if(j%2==0)
{
System.out.print("0");
}
else
{
System.out.print("1");
}
}
System.out.println();
}
}
}

higurudematsu
Автор

package javabeginner;
import java.util.Scanner;

public class AssignmentPattern {
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
int row, col, n;
System.out.print("Enter number for pattern: ");
n = input.nextInt();

for(row=1;row<=n;row++)
{
for(col=1;col<=row;col++)
{
System.out.printf("%d ", col%2);
}
System.out.println("");
}


}

}

MRmanOfficial
Автор

package VariableType;

public class Pattern {
public static void main(String[] args) {
int i, j, n;
n=4;
for(i=1;i<=n;i++){
for(j=1;j<=i;j++){
if(j%2==0){
System.out.print(0+" ");
}
else if(j%2==1)
System.out.print(1+" ");

}
System.out.println("\n");
}
}
}

likhonislam
Автор

Assignment 17:

import java.util.Scanner;
public class Assignment17 {
public static void main(String[] args){
Scanner input = new Scanner (System.in);

System.out.print("Enter how many lins : ");
int n = input.nextInt();


for(int row=1; row<=n; row++){
for(int col=1; col<=row; col++){
System.out.print(" "+col%2);
}System.out.println();
}

}
}

Amin-Babu
Автор

Assignment:17;

import java.util.Scanner;

public class Assignment:17{
public static void main(string[]args){

Scanner input=new Scanner(System.in);
System.out.println(Enter a number of line);

int n=input.nextInt();
for(int row=1;row<=n;row++){
for(int col=1;col<=row;col++){

System.out.println(col%2+" ");
}
System.out.println();
}
}
}

jahidulislamislam-hs
Автор

package assignments;

import java.util.Scanner;

public class Assaignment17 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int n;
System.out.println("enter number of lines: ");
n=input.nextInt();

for(int row=1;row<=n;row++){
for(int col=1;col<=row;col++){
System.out.print(col%2+" ");
}
System.out.println(" ");
}

}
}

esratjahanasha
Автор

Thank you, sir!
package Assignment;

import java.util.Scanner;


public class Assignment17 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
System.out.println("Enter any linr number:");
int m=input.nextInt();
for (int row = 1; row <= m; row++) {
for(int col=1;col<=row;col++){
if(col%2==0){
System.out.print("0");
}
else{
System.out.print("1");
}
}

System.out.println();
}
}

}

sajedultasin
Автор

Assignment 17 ✅👇

import java.util.Scanner;

public class Assignment_17 {

public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter a number : ");
int number = input.nextInt();
for (int i = 1; i <= number; i++) {
for (int j = 1; j <= i; j++) {
System.out.print((j % 2) + " ");
}
System.out.println();
}
input.close();
}

}

Entertainment-flep
Автор

Assignment-17:

import java.util.Scanner;
public class Assignment17 {

public static void main(String[] args) {

Scanner input= new Scanner(System.in);
System.out.print("Enter number N: ");
int N = input.nextInt();

for(int row=1;row<=N;row++)
{
for(int col=1;col<=row;col++)
{
if(col%2==0)
{
System.out.print(" 0 ");
}
else{
System.out.print(" 1 ");
}
}
System.out.println();
}
}
}

najminakter