C# language Create a simple program that will perform the following tasks. Deposit (the amount will be added to the outstanding balance) Withdraw (the amount will be deducted from the outstanding balance) Inquire (display the outstanding balance) Exit (end the program) Create functions relevant to each task Initially, the program shall prompt the user to enter an outstanding balance as the initial amount and 4 digit PIN number. Create also a function that will check if the PIN number is correct or not. The program shall prompt the user to enter the PIN number for every transaction. Prompt the user a proper message for an incorrect PIN number If the withdrawal amount is higher than the outstanding balance, prompt the user appropriate message and withdrawal is denied
C# language
Create a simple
Deposit (the amount will be added to the outstanding balance)
Withdraw (the amount will be deducted from the outstanding balance)
Inquire (display the outstanding balance)
Exit (end the program)
Create functions relevant to each task
Initially, the program shall prompt the user to enter an outstanding balance as the initial amount and 4 digit
PIN number.
Create also a function that will check if the PIN number is correct or not.
The program shall prompt the user to enter the PIN number for every transaction. Prompt the user a proper
message for an incorrect PIN number
If the withdrawal amount is higher than the outstanding balance, prompt the user appropriate message
and withdrawal is denied
Trending now
This is a popular solution!
Step by step
Solved in 2 steps