Question: Write a code to ask the user to enter his expenses in a day. you must allow the user to enter as many numbers as

Write a code to ask the user to enter his expenses in a day. you must allow the user to enter as many numbers as he wants until he enter 0 (zero). if he entered 0 then print the sum of his expenses and finish the program. Sample output: Enter your expenses: 20 30 15.5 30.88 0 The total of your expenses is: 96.38 AED
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
