Question: My program is nearly done, but I cannot make my Cases display letters instead of numbers ( example press D for Deposit, W for withdrawal
My program is nearly done, but I cannot make my Cases display letters instead of numbers ( example press D for Deposit, W for withdrawal and C for Checks & balance and q for quit). and lastly I cannot make all the check deposits reappear when I request case 3 to view checks and balance (example display how many checks, balance total and a list of all the checks that are being displayed as you submit them). Please help thank you.
#include #include
using namespace std;
int Deposit (int amount, int currentBalance); int Withdrawal (int amount, int currentBalance); void viewBalance (int currentBalance); void showCheckDeposit(list
int main(int argc, char** argv) { //variables int currentBalance = 1000; // beginning balance for checking account int amount = 0; int answer = 0; bool notComplete = true; list
case 1: cout << "Enter the Deposit amount" < int Deposit (int amount, int currentBalance) { currentBalance +=amount; return currentBalance; }//end deposit int Withdrawal(int amount, int currentBalance) { currentBalance -= amount; return currentBalance; }// end withdrawal void viewBalance (int currentBalance) { cout <<" "< void showCheckDeposit(list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
