User profile: ccsdude

User info
User name:ccsdude
Email:arria.amin@gmail.com
History
Joined:
Number of posts:31
Latest posts:

how could i have done this better, plz dont laugh too much at dodgy code
You over complicated this task... You can simply use an array to store each amount like pogrady said...

While statements
First of all you never initialized chipAmt so it has a random value like 43535. Second when it reac...

While statements
Your loop does nothing because you are checking for chips which was set 0 instead of (I guess) chipP...

One Last Question Regarding "Switch Statements"
My bad the cin I meant were the ones in the second switch statements Could you explain me when do y...

psudo random number generator help
jajajajajajaja must be a Visual Studio issue because I'm using Code Blocks and works fine