Question: 1. Write a C# rconsole program to do the following. A program is written to maintain a cash register balance. When it starts, prompt the

 1. Write a C# rconsole program to do the following. A

1. Write a C# rconsole 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!