Kids v/s legend ...must see once | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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("*****") }

26th May 2017, 6:55 AM
BHUPESH PATEL
BHUPESH PATEL - avatar
6 Answers
+ 9
but a super-legend does this👇👇👇 System.out.println(" * \n ** \n *** \n **** \n *****");
26th May 2017, 8:46 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 5
Use code playground
26th May 2017, 6:56 AM
Ekansh
+ 4
Good idea.
26th May 2017, 8:38 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 2
legand or legend ?
26th May 2017, 6:58 AM
Setiawan Next
Setiawan Next - avatar
+ 2
its my poor english
26th May 2017, 6:59 AM
BHUPESH PATEL
BHUPESH PATEL - avatar
+ 1
yupp
26th May 2017, 8:59 AM
BHUPESH PATEL
BHUPESH PATEL - avatar