18th Mar 2019, 5:16 AM
BestMordeEUW
BestMordeEUW - avatar
4 Answers
+ 2
BestMordeEUW public class Program { public static void main(String[] args){ int size =3; for(int k=3; k>=0; k--){ for(int j=0; j<k; j++){ System.out.print("*"); } System.out.print("\n"); } } }
18th Mar 2019, 5:58 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
I see no error. What's supposed to be printed?
18th Mar 2019, 5:34 AM
Diego
Diego - avatar
0
BestMordeEUW you are printing * * so on check this and play with code to get some decent output https://code.sololearn.com/cSLzUK00cIHf/?ref=app
18th Mar 2019, 6:23 AM
Daljeet Singh
Daljeet Singh - avatar
0
yeah, i have given bad information. i want this to be printed : *** ** *
18th Mar 2019, 2:13 PM
BestMordeEUW
BestMordeEUW - avatar