Conditionals and Loops For Loops | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Conditionals and Loops For Loops

Arrange below to print "Great!" 10 times: (int i = 0; i < 10; ) { System.out.println("i-- "); } for 10 i i+1 Great! i-- i++

22nd Sep 2017, 12:29 PM
Isreal Hizzybosco
Isreal Hizzybosco - avatar
1 Answer
0
for(int I=0;I<10;I++) { system.out.println("great"); }
23rd Sep 2017, 2:17 AM
Aryan Biswas
Aryan Biswas - avatar