Looping question
//
[/code]
Last edited on
Hi @cheer4BAS,
try:
1 2 3 4 5 6 7
|
do
{
balance = PlayGame(balance);
cout << "You have $" << balance << endl;
if(balance>0)
play = PlayAgain();
} while ((balance > 0) && (play == true));
|
Topic archived. No new replies allowed.