Question: Write a program that simulates a simple version of the game blackjack. Obtain 3 random integers between 1 and 1 0 , inclusive; If the

Write a program that simulates a simple version of the game blackjack. Obtain 3 random integers between 1 and 10, inclusive; If the sum of the numbers is 21 display "You win"; if it is less than 21 display "It is a tie"; if it is above 21, display "Dealer wins".

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!