Question: 1. Write a C# or Python console program to do the following. A program is written to maintain a cash register balance. When it starts,
1. Write a C# or Python console program to do the following. A program is written to maintain a cash register balance. When it starts, prompt the user for the initial balance of cash in the register. Then the user throughout the day will enter positive values to indicate money received from customers, or negative values to indicate money paid out (customer refunds, money removed by manager). After each "transaction", the program should output the current balance of the cash register. The program should not fail if the user should enter an invalid number (like accidentally enters 'q' or a blank line instead of a number). The program should end when the user types in "LOGOUT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
