#include "account.h" using namespace std; //introduces namespace std int main() { double ib; cout << "enter your initial balance:"; cin >> ib; account jensAccount(ib); int inPin = 0; cout << "enter your pin: "; cin >> inPin; if (inPin == jensAccount.getPin()) { cout << "after depositing: " << jensAccount.deposit(22000); } else { cout << "invalid pin" << endl; } //restricted because of private //cout << "\n" << jensAccount.balance; /*account* bobsAccount = new account(ib); cout << (*bobsAccount).deposit(20) << endl; cout << bobsAccount->deposit(20); */ return 0; }