Update menu

This commit is contained in:
nyosic 2025-02-09 23:02:18 +01:00
parent d2853b7074
commit cb7d0f7867

View File

@ -346,6 +346,7 @@ void higherOrLower() {
void deposit() { void deposit() {
int deposit_amount; int deposit_amount;
cout << "Current money in bank: " << bank_balance;
cout << "Enter the amount of money you want to deposit: "; cout << "Enter the amount of money you want to deposit: ";
cin >> deposit_amount; cin >> deposit_amount;
if (bank_balance >= deposit_amount) { if (bank_balance >= deposit_amount) {
@ -366,7 +367,8 @@ void deposit() {
void withdraw() { void withdraw() {
int withdraw_amount; int withdraw_amount;
cout << "Enter the amount of money you want to deposit: "; cout << "Current NyscoCoin balance: " << balance;
cout << "Enter the amount of money you want to withdraw: ";
cin >> withdraw_amount; cin >> withdraw_amount;
if (balance >= withdraw_amount) { if (balance >= withdraw_amount) {
balance -= withdraw_amount; balance -= withdraw_amount;
@ -429,11 +431,11 @@ int main() {
cout << "(C) - Coinflip" << endl; cout << "(C) - Coinflip" << endl;
cout << "(S) - Slots" << endl; cout << "(S) - Slots" << endl;
cout << "(B) - Blackjack" << endl; cout << "(B) - Blackjack" << endl;
cout << "(R) - Roulette (coming soon!)" << endl; cout << "(R) - Roulette (Coming soon!)" << endl;
cout << "(D) - Dice Roll" << endl; cout << "(D) - Dice Roll" << endl;
cout << "(H) - Higher or Lower (coming soon!)" << endl; cout << "(H) - Higher or Lower" << endl;
cout << "--------------------" << endl; cout << "--------------------" << endl;
cout << "(J) - Go To Work (best option btw! don't gamble it's bad)" << endl; cout << "(J) - Go To Work" << endl;
cout << "--------------------" << endl; cout << "--------------------" << endl;
cout << "(M) - Deposit Money" << endl; cout << "(M) - Deposit Money" << endl;
cout << "(W) - Withdraw NyscoCoins" << endl; cout << "(W) - Withdraw NyscoCoins" << endl;