0

I need help!

How many "Hooray" will be printed onto screen? int count = 10; while (count>=10){ System.out.println("Hooray!"); ++count; }

12th Feb 2023, 12:09 AM
Amir Gadzhiev
3 Réponses
+ 2
Amir Gadzhiev See in code playground.
12th Feb 2023, 5:35 AM
A͢J
A͢J - avatar
+ 1
"Hooray" will be printed 4294967286 times. As the value of count increased by 1 each time it will be not stopped until the count value reaches 2³² - 1.
13th Feb 2023, 6:18 AM
Shiva :)
Shiva :) - avatar
0
10000000000000000
12th Feb 2023, 5:08 PM
Sruly