Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int bet;
- int box;
- int win;
- char yn;
- printf("\n Welcome to Mr. Schreiberstein's Casino!");
- printf("\n How much is your bet? US-Dollar : ");
- scanf("%i", &bet);
- printf("\n Choose your Box (0-49) : ");
- scanf("%i", &box);
- printf("\n \n Confirm your indications first : You bet %i$ for box %i. Is that right? Enter (y) for yes and (n) for no. : " , bet, box);
- scanf("%c", &yn);
- printf("\n You wrote : %c ", yn);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement