0
How many times will the following loop work? int x = 0; int y = 5; while (x < y) { System.out.println("Hello"); x++; }
Help
5 Answers
+ 4
Please specify a programming language name related to your query in the "Relevant Tags".entry.ā
https://code.sololearn.com/W3uiji9X28C1/?ref=app
+ 2
jayson abion
Why don't you run this code for yourself in the playground, and discover the answer for yourself.
+ 1
jayson abion Print x value and see how many times it printing...
Oh.. You can see how many times hello printing...
0
Answer is 5
- 1
Help