#include <iostream>
using namespace std;
/*
*
*/
class Account {
private:
int balance;
public:
Account(int a){
balance = a;
}
//Account(int a);
int creditAccount();
int debitAccount();
int getBalance(){return this->balance;}
};
int main(int argc, char** argv) {
int choice = 1;
switch (choice){
case 1:
{
/*cout << "Please Enter Opening Balance amount";
cin >> amount;*/
Account user1(10);
cout << user1.getBalance();
}
break;
case 2:
{
/*cout << "Please Enter Opening Balance amount";
cin >> amount;*/
Account user2(12);
cout << user2.getBalance();
}
break;
case 9:
break;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCi8qCiogCiovCmNsYXNzIEFjY291bnQgewogICAgCnByaXZhdGU6CiAgICBpbnQgYmFsYW5jZTsKCQpwdWJsaWM6CglBY2NvdW50KGludCBhKXsKCQliYWxhbmNlID0gYTsKCX0KCQoJLy9BY2NvdW50KGludCBhKTsKCWludCBjcmVkaXRBY2NvdW50KCk7CglpbnQgZGViaXRBY2NvdW50KCk7CglpbnQgZ2V0QmFsYW5jZSgpe3JldHVybiB0aGlzLT5iYWxhbmNlO30KfTsKCgppbnQgbWFpbihpbnQgYXJnYywgY2hhcioqIGFyZ3YpIHsKCQoJaW50IGNob2ljZSA9IDE7CgoJCglzd2l0Y2ggKGNob2ljZSl7CgkJCgljYXNlIDE6CgkJewoJCS8qY291dCA8PCAiUGxlYXNlIEVudGVyIE9wZW5pbmcgQmFsYW5jZSBhbW91bnQiOwoJCWNpbiA+PiBhbW91bnQ7Ki8KCQlBY2NvdW50IHVzZXIxKDEwKTsKICAgICAgICBjb3V0IDw8IHVzZXIxLmdldEJhbGFuY2UoKTsKCQl9CgkJYnJlYWs7CgkJCgljYXNlIDI6CgkJewoJCS8qY291dCA8PCAiUGxlYXNlIEVudGVyIE9wZW5pbmcgQmFsYW5jZSBhbW91bnQiOwoJCWNpbiA+PiBhbW91bnQ7Ki8KCQlBY2NvdW50IHVzZXIyKDEyKTsKICAgICAgICBjb3V0IDw8IHVzZXIyLmdldEJhbGFuY2UoKTsKCQl9CgkJYnJlYWs7CgkJCgljYXNlIDk6CgkJYnJlYWs7Cgl9CgkKCXJldHVybiAwOwp9IA==