Name;
string cardNumber;
string PIN;
int currentBalance;
int lastTransaction;
int withdrawCash() {
cout << "Current balance: " << currentBalance << "KZT\n";
cout << "Enter amount to Withdraw: ";
int value; cin >> value; currentBalance -= value;
cout << "Cash withdrawn successfully!\n";
cout << "Remaining balance: " << currentBalance << "KZT\n";
return -value;
} tut est' inheritance?
и?
Вам в @lame_cpp
Обсуждают сегодня