How to do while loops for cashier amount | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to do while loops for cashier amount

I want to do while if the cash<total Will show the message if enough money or need more money from the total... If get what I mean Example total is 20 U give 10 will show messages that u have to not enough money..if u put 3 will get take way from the total until get 0 will end the while loop

6th Dec 2019, 9:23 PM
Shofi Uddin
1 Answer
0
Read on control structure concept
7th Dec 2019, 1:14 PM
Da2
Da2 - avatar