Kids v/s legend ...must see once | Sololearn: Learn to code for FREE!

+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("*****") }

5/26/2017 6:55:02 AM

BHUPESH PATEL

6 Answers

New Answer

+9

but a super-legend does this👇👇👇 System.out.println(" * \n ** \n *** \n **** \n *****");

+5

Use code playground

+4

+2

legand or legend ?

+2

its my poor english

+1