Java Bangla Tutorials 80 : Array | find output program (part-2)

preview_player
Показать описание
➡️ In this video, I will show how to practice output-related programs with Array.
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:11) find the output
⌨️ (07:18) 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
Рекомендации по теме
Комментарии
Автор

বাংলাদেশ আপনার কথা কোনোদিন ভুলবে না।মাতৃভাষ্যয় প্রোগ্রামিং শিক্ষায় আপনার অবদান অসামান্য।

kamrulhasan-zghe
Автор

Thanks a lot Sir! Your guidance for us is a blessing.

joyprokash
Автор

আপনি সেরা 👌
ফিনল্যান্ডে কখনো বেড়াতে আসলে আপনার সাথে দেখা করতে চাই

mahmudfahim
Автор

thank you for your outstanding support vaia 😍

OmarFarukHridoy
Автор

your understand system is very good brother 🥰☺ still I am beneficent this course

arifulislamador
Автор

You are great.
You are the real hero of IT sector in Bangladesh.
Thanks a lot brother.

mizanurrahmankhan
Автор

Vai apni best... U have no idea how important your videos have become

mohdtahseenislamtalukder
Автор

sottei sir, apni eksathe ethogulo kaj kivabe maintain koren?apnei amr inspiration, amr jonno dua apnar jonno ami jodi mukhe na kori, tobe amr haddir(Bone) dua

sabbirahmad
Автор

Again, many many thanks vaia.Php er upor kono Video kora jay kina ektu vebe dekhben tahole upokrito hotam.

ArifHossain-
Автор

package Array;

import java.util.Scanner;


public class Output2 {
public static void main(String[] args) {
Scanner ad = new Scanner(System.in);
int n, m, k=0;
System.out.print("Enter row length: ");
n=ad.nextInt();

int a[][]=new int[n][];
for (int i = 0; i < n; i++) {
a[i]=new int[i+1];
}
for (int i = 0; i < n; i++) {
for (int j = 0; j < i+1; j++) {
a[i][j]=k;
k++;
}
}
System.out.println("Required matrix: ");
for (int i = 0; i < n; i++) {
for (int j = 0; j < i+1; j++) {
System.out.print(a[i][j]+" ");
}
System.out.println();
}
}
}

mhs_
Автор

স্যার আমি এই প্রোগামটি প্যার্টানের প্রোগাম দিয়ে করেছি । row=coloum .. ধন্যবাদ স্যার এত বিস্তারিত ভাবে শেখানোর জন্য।

ehashanrabbipial
Автор

you are really a hardworking men...
Keep going on, , , we have many things to learn form you

muhibrahman
Автор

vai, output er last row tw 7 8 9 10 chilo(1:00), apni tw 6 7 8 9 print expert reply plz.

clashwithfun
Автор

ALTERNATIVE OF THIS
package ArrayDemo;

import java.util.Scanner;

public class Array_output2
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
System.out.print("Enter the number of row = ");
int row = input.nextInt();
int k = 0;
//printing it
for (int i = 1; i <=row; i++)
{
for (int j = 1; j <=i; j++)
{
System.out.print(" "+k);
k++;
}
System.out.println("");
}
}
}


THE OUTPUT
Enter the number of row = 4
0
1 2
3 4 5
6 7 8 9
BUILD SUCCESSFUL (total time: 5 seconds)

mohammadmostofa
Автор

Sir..u are the best teacher i have ever seen..i have told your name to my friends..please keep making more videos on various topics..it is being very much helpful for us..:)

tasnuvarazzaque
Автор

Assalamu alaikum, Anisul sir ☺️.
Amr akta questions Amra prothom e jokon, sodo 4 ta row er akta array nelam kinto column Kono value dei nai....tokon compiler ke 0 column er 4 ta row banai!??naki onno keso!? bojtache nah eikhane asole ke hoche!?

Jokon Amra sodo row e banai tokon o to akta column automatically e hoiya jai, tai nah!?

lamiasathi
Автор

Dada program ta thik bujhlam na .... Kivabe column er number ta nile ....

debasishsau
Автор

Vai apni onno level er. BD r sob Public, Private Uni te jodi apnr moto kore programming korato tahole Bangladesh e programmer e vore jeto.

ceip
Автор

package anisulislam;
import java.util.Scanner;
public class array6 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int k = 0, n;
System.out.print("Enter the row number: ");
n = input.nextInt();
int[][] num = new int[n][];
for (int i = 0; i <n; i++) {
num[i] = new int[i+1];
}
for (int i = 0; i < n; i++) {
for (int j = 0; j <=i; j++) {
num[i][j] = k;
k++;
}
}
for (int i = 0; i < n; i++) {
for (int j = 0; j <=i; j++) {
System.out.print(num[i][j]+" ");
}
System.out.println();
}
}
}

mdmahmudulhassan