COP-3014 Study Guide - Quiz Guide: Switch Statement, Readme, Savings Account
Document Summary
// automated teller machine (atm) that deposits, withdraws, and transfers money to and from your savings and checking account. // readme: the only place you will need to make changes to this. // code file is within the switch statement provided below. // a function to print the user account balances. // the code in this function void printaccountbalances(int & transaction, double account1, double account2); // function main begins program execution int main() // a variable to track the number of transactions. // a variable to hold their choice int selection = 0; // a variable to hold the dollar amount for the transactions double amount = 0; // you can reuse this variable every time - make sure to update account values while (selection != 7) work std::endl; std::endl; // inside of this switch statement is the only place you need to write code!/////// over. ///////////////////////////////////// // if you modified any other code, start.