I'm building a simple dice game in C++ where you play against the computer, before the game you can bet lets say 100, if you win you should win the double of that = 200, and if u lose, 100 will be withdrawn from ur account that you have
I have these variables:
int bet = 0; 
int account = 0
and Im trying to make what I told about up there with this:
if (computer > rounds)
   {
    wcout<< "Im sorry the computer won this round you have this amount left on your account:" << account - bet << endl;
   }
   else if (player > rounds)
   {
    wcout<< "Gratz you won this round now you have:" << account + bet*2 << endl;
   }
It's not working out and I've been trying to figure out why, any help is appreciated!
 
     
     
     
    