0

can anyone kindly explain how the code will terminate when when using a while loop if the sum to be executed is a negative(in py

13th Jan 2023, 5:37 PM
Wycliffe Curson
Wycliffe Curson - avatar
1 Answer
0
Please try being clear enough so it's easy to understand but generally a while loop will only terminate if the condition becomes false or other ways decided by the programmer to terminate it prematurely using break
24th Jan 2023, 10:12 PM
Ochola Mark Joshua
Ochola Mark Joshua - avatar