ICSE Java Programming #24. Pattern Printing using Nested Loops in Java

preview_player
Показать описание
ICSE Java Programming
#21. Pattern Printing using Nested Loops in Java

In this video you will learn :
a. How to print patterns using nested loops
Рекомендации по теме
Комментарии
Автор

u r the only one who explained it well

FOXFIREGamingat
Автор

Thank you so so so much. It will be only because of you that I will be able to do this program. My teacher thought this to me 3 times and I couldn't understand but I just saw this video once and understood perfectly. You are a genius.

overratedlove
Автор

Sir u are great...I understand the pattern n execution as well

bk_divya
Автор

most important point for me that I couldn't understand was from 9:24 yet that's when you started rushing

GraduateGamers
Автор

this video is really helpful for those who are not very strong with their concepts in executing patterns in java programming

santanupal
Автор

A great video!!! your teaching method is more relatable. Thank you.

binishapokharel
Автор

I've seen a lot of tutorials about nested loops and I've never managed to really understand them but you really knew how to explain them, so thank you so much. You are great!

gheisha
Автор

Vertical ones are columns and horizontal ones are rows

electrowizard
Автор

A palindrome is basically a number which is the same when reversed.
101 when reversed is still 101.
Here's some code :

int num=202, copy =num, reverse=0, digit=0;
while(copy>0)
{
digit = copy%10; // Returns remainder when you divide the number by 10 (which comes to the last digit)
reverse = reverse*10 + digit; // Note this step - try it out on paper with sample input
copy = copy/10; // It returns the quotient
}
if(reverse == num)
// The number is a palindrome, do what you want with it.

SumitShyamsukha
Автор

Thank u so so much... Tomorrow I have test of this chapter and this video has helped me a lot.!!

s.ksharma
Автор

can u also show me how to make a pyramid type pattern?

prithviman
Автор

What a nice way to explain! All doubts are cleared. Thanks indeed.

deepayanbiswas
Автор

broda nyc way of explaination....using idea....vry cool

usaru
Автор

Thank u verymuch
It helped me a
☺☺☺☺

nagarajakumari
Автор

YouTube isn't letting me put braces for some reason, so try figuring it out :

class Pattern
{
public static void print()
{
for(int i=1;i(less than sign)=5;i++)
{
for(int j=1;j(less than sign)=i;j++)
System.out.print(j);
System.out.println();
}
for(int i=4;i(greater than sign)0;i--)
{
for(int j=1;j(less than sign)=i;j++)
System.out.print(j);
System.out.println();
}
}
}

SumitShyamsukha
Автор

public class Pattern
{
public static void main()
{
for(int j=1;j<=5;j++)
{
for(int i=1;i<=j;i++)
{
System.out.print(i);

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

}
}
would be a btr program according 2

preranajain
Автор

thanks for the videos .. they help my daughter a lot

dr.pyditalliduppada
Автор

Sir but at first inner loop itteration you told j becomes 2 because j++is done

fokus
Автор

you are helping a lot by your tutorials sir, keep it up 👍👍

SmartProgramming
Автор

thank you Sumit...this video was very helpful...have seen many videos related to this program...they have not explained the exact scenario ...thanks a lot

sundarisubbiah
visit shbcf.ru