rendered paste body#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdlib>
using namespace std;
void welcome();
int login(int, int);
void menu();
void withdrawal();
void deposit();
void update();
void balance();
void quit();
int main()
{
int accountID;
int pin;
cout << "************************************************************" << endl;
cout << " Welcome to the Bank of the Universe" << endl;
cout << "************************************************************" << endl << endl;
cout << "Please enter your nine digit account ID number." << endl;
cin >> accountID;
cout << "Please enter your four digit PIN number." << endl;
cin >> pin;
///////////////////////////////////////////////////
if pin ==
void menu();
return 0;
}
void menu()
{
int choice;
cout << "************************************************************" << endl;
cout << " Welcome to the Bank of the Universe" << endl;
cout << "************************************************************" << endl << endl;
cout << "1. Withdrawal" << endl;
cout << "2. Deposit" << endl;
cout << "3. Update" << endl;
cout << "4. Balance" << endl;
cout << "5. Quit" << endl << endl;
cin >> choice;
switch (choice)
{
case 1: void withdrawal(); break;
case 2: void deposit(); break;
case 3: void update(); break;
case 4: void balance(); break;
case 5: void quit(); break;
default: cout << "Please pick a valid menu item" << endl; break;
}
return 0;
}
void withdrawal()
{
float amount;
cout << "Enter the amount you wish to withdraw" << endl;
cin >> amount;
//if (current_account.get_balance() < amount)
// cout << "Sorry, you have insufficient funds." << endl;
//else
// current_account.withdraw(amount);
}
/////////////////////////////////////////////
void quit()
{
cout << "Thank you for using the Bank of the Universe!" << endl;
return;
}