0

Привет пожалуйста Объясните этот код

while(number>0){ fact*=number--; } System.out.println(fact);

8th Jan 2023, 6:54 AM
Erkaboev Ilhom Isomjonovich
Erkaboev Ilhom Isomjonovich - avatar
2 Respuestas
+ 3
while <number> is greater than zero begin multiply <fact> by <number> then decrease <number> by 1 end print <fact> on screen/console
8th Jan 2023, 7:09 AM
Ipang
0
Thanks a lot for your help
8th Jan 2023, 7:23 AM
Erkaboev Ilhom Isomjonovich
Erkaboev Ilhom Isomjonovich - avatar