public class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i=n;i>=1;i--){ for(int j=1;j
@@chirag9159 ERROR! /tmp/QAwau9YAm6/Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main ERROR! /tmp/QAwau9YAm6/Main.java:3: error: cannot find symbol Scanner sc = new Scanner(System.in); ^ symbol: class Scanner location: class Main 2 errors
Following your previous classes, I decided to do 3 FOR loops:(we can change "_" , "*" , "e" with any other chars. I did it just for understanding where and which For loop is printing) for (int i = 1; i
The only one i can understand much better... THANKS A LOT, LET ME FOLLOW RIGHT AWAY.
Thank you!!
👍👍best explanation....... thank you sir 😊
something that looks simple , all these videos make it look like rocket science, this was confusing as hell.
Thank you so much. Your tutorial is easy and straight to the point. I finally understand how it works now.
One of the Best java teacher in youTube so far!
Thank you so much! @Hosna
Thank you for this man! I really appreciate this!
Glad it was helpful. Thanks for your comment!
Thank you dear, You video is crystal clear and very easy to understand about the flow of Pyramid .
Perfect video, thank you.
Glad you liked it! Thanks for your comment @Woltex
This Tutorial helped me out a lot, thank you so much!
Glad it helped you! Thanks for you comment
good evening sir from here, where did you get the 2 you multiply by i to get the star
excellent explanation sir👌👌
Glad you liked! Thanks for your comment Himakar
Thanks for showing how to demonstrate logic!
Thank you Chirac!🙏🏾🙏🏾
Thanks @Rendy
Super bro what a explanation
The best explanation i ever got on this type of pattern, brilliantly explained
Glad it was helpful! Thanks for your comment @Honey
You're awesome
If I get a Job, I shall pay U my RESPECT
Best teacher
What is array?
Group of similar elements
How about 2 loops? Which one would you choose if you had a similar task? I mean, which is more easy to use and more readable?
Thank you so much!!!!!!
How would you do it if it was the same pattern but on the opposite side
**************
***********
*********
*******
*****
***
*
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
for(int i=n;i>=1;i--){
for(int j=1;j
@@chirag9159 ERROR!
/tmp/QAwau9YAm6/Main.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
ERROR!
/tmp/QAwau9YAm6/Main.java:3: error: cannot find symbol
Scanner sc = new Scanner(System.in);
^
symbol: class Scanner
location: class Main
2 errors
Can anyone help with how I would do this with a user input for how many rows the want
Using Scanner class which is used for taking user input from the console.
Excelent ❤excellent
Helped me a lot actually.
Thank you @Fahad
Just Wow..
I got compilation error " cannot fined symbol (refers to the i in the for loop condition)"
I don't know why
@Shatha - thanks for your query, I think this is resolved now in telegram chat?
Fantastic!!! thanks so much🙂
You are so welcome! @Praveen
we couldn't see the pattern in the output at the end, as your another video's pop-up advertisement came in between.
Hara Hara mahadeva
Hara Hara mahadeva
Hara Hara mahadeva
amazing !
Thank you!
bro you're insane
😃
Following your previous classes, I decided to do 3 FOR loops:(we can change "_" , "*" , "e" with any other chars. I did it just for understanding where and which For loop is printing)
for (int i = 1; i
That's great way to understand & differentiate two for loops ✌
error in code
I think you forgot to but this }
Thanks bro
The best
No sir, the triangle is not coming as you've written in the above figure rather its coming like:
A
AAA
AAAAA
AAAAAAA
AAAAAAAAA
Can you post the code as well?
I have some errors on this program
@Sayali - Can you share your code?
@@ChiragKhimani
The error is
In For loop
s
Also I run another program same error show in j
Kindly reply me Sir.
Kindly revert back me..
😍
Hara Hara mahadeva