+ 1

Fill in the blanks to print the values of the x variable 5 times.

Fill in the blanks to print the values of the x variable 5 times. int x = 1; do { System.out.println(x); x++; } _____(x <=__ );

30th Mar 2017, 9:14 PM
Washington de Jesus
Washington de Jesus - avatar
16 Antworten
+ 17
Aren't I always? 😎 Thanx
30th Mar 2017, 9:22 PM
Jafca
Jafca - avatar
+ 9
My bad.. Jafca is right :)
30th Mar 2017, 9:21 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 8
while 5
30th Mar 2017, 9:15 PM
Jafca
Jafca - avatar
+ 7
Oops, where'd she go? It was an honest mistake 😉
30th Mar 2017, 9:21 PM
Jafca
Jafca - avatar
+ 7
Definitely 😇
30th Mar 2017, 9:23 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 2
thanks i'm new in Java!
30th Mar 2017, 9:18 PM
Washington de Jesus
Washington de Jesus - avatar
+ 2
@Washington you can also try out that code on the code playground
30th Mar 2017, 9:24 PM
Patricio López
Patricio López - avatar
+ 1
Fill in the blanks to print x variable's values 10 times. int x = 0; do { cout << x << endl; x++; } while (x < 10 );
6th Apr 2022, 3:23 AM
Reza Anugrah
+ 1
what =5
27th Jul 2022, 1:36 PM
Cristiano Ronaldo
Cristiano Ronaldo - avatar
0
this correct while (x<=5);
31st Jan 2021, 7:47 PM
Usman
Usman - avatar
0
while (x<=5);
1st Jul 2022, 3:32 PM
Antenhe Yimer
0
for,+
13th Jul 2022, 7:08 AM
mohammed iliyas
mohammed iliyas - avatar
0
``````````````````````````
24th Oct 2022, 3:48 AM
Sayyora Rustamova
Sayyora Rustamova - avatar
0
Fill in the blanks to output the value of the open Boolean variable:
24th Oct 2022, 3:50 AM
Sayyora Rustamova
Sayyora Rustamova - avatar
0
2 8 Comments Fill in the blanks to print "SoloLearn" to the screen 3 times using the for loop: (int i = 0; i 3; ++i) { printf("SoloLearn"); }
22nd Jul 2023, 4:02 AM
KATHIRASAN K
KATHIRASAN K - avatar
- 2
}while(x<=5);
18th Mar 2018, 2:19 PM
Shivangi Singh
Shivangi Singh - avatar