System for bank clients | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

System for bank clients

https://code.sololearn.com/cTw4eQ3PO178/?ref=app this is the task from sololearn java course , and i absolutely can’t understand the line of code in the end which looks like: while(number != 0); i tried to change it and there goes an error. can’t understand the sense of it, the mechanism why it must be not equal to 0?? how it works? can anybody explain this thing, i’ve already braked my brain trying to understand this. when there were exercises it was much more easier like while<5 and there was 1,2,3,4.

24th Jan 2023, 2:23 AM
arlo zelenberg
arlo zelenberg - avatar
1 Answer
+ 1
thank you for very good explanation! it really helped!
24th Jan 2023, 3:30 AM
arlo zelenberg
arlo zelenberg - avatar