Im looking to make a prog that will find out how much money I had in my pocket when I left the pub and went to the casino.
I paid = £1.00 to get in
I lost half my money there and paid £1.00 to get out.
I then went to a second casino and did the same thing
Paid £1 entry lost half my money,paid £1.00 to get out.
Not learning my lesson I went to a third casino and did it again
paid £1.00 to get in
lost half my remaining cash
and paid another £1.00 to get out.
I was then broke.
I want to find out how much money I started with, I think I gotta use a Do Loop for this but im stuck finding how much I spent.
This message was edited by Charlie on 2002-10-25 07:34
I paid = £1.00 to get in
I lost half my money there and paid £1.00 to get out.
I then went to a second casino and did the same thing
Paid £1 entry lost half my money,paid £1.00 to get out.
Not learning my lesson I went to a third casino and did it again
paid £1.00 to get in
lost half my remaining cash
and paid another £1.00 to get out.
I was then broke.
I want to find out how much money I started with, I think I gotta use a Do Loop for this but im stuck finding how much I spent.
This message was edited by Charlie on 2002-10-25 07:34