Question: Assembly Language Write a program that asks the user to guess the next roll of a six - sided die. Each guess costs $ 1

Assembly Language
Write a program that asks the user to guess the next roll of a six-sided die. Each guess costs $ 1. If they guess correctly, they get $ 10.00. The player will start with a $10.00 bank. Each time he (or she) guesses incorrectly, you will subtract $1.00 from their bank. Each time they guess correctly, you add $10.00 to their bank. Print the total winnings or losses at the end of the game. You can simulate the dice toss using the RandomRange function (Don't forget to Randomize).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!