#include "BankAccountCStruct.h" #include using namespace std; int main() { BankAccount a, b; initialise(&a, "Stuart"); initialise(&b, "Bob"); deposit(&a, 5000); cout << a.name << " " << a.balance << endl; cout << b.name << " " << b.balance << endl; deposit(&b, 50000); cout << a.name << " " << a.balance << endl; cout << b.name << " " << b.balance << endl; transfer(&b, &a, 40000); cout << a.name << " " << a.balance << endl; cout << b.name << " " << b.balance << endl; }