+ 3
Kids v/s legend ...must see once
what kids do》to print * pyramid for(int i=0;i<=5;i++) { for (int j=0;j<=i;j++) { system.out print("*"); } system.out.println(); } now what a legend do》》》 { system.out.printf("*"); system.out.printf("**"); system.out.printf("***"); system.out.printf("****") system.out.printf("*****") }
6 ответов
+ 9
but a super-legend does this👇👇👇
System.out.println(" * \n ** \n *** \n **** \n *****");
+ 5
Use code playground
+ 4
Good idea.
+ 2
legand or legend ?
+ 2
its my poor english
+ 1
yupp