Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

>>>>>>>>> Program using C++ Playing poker with dice. (Kinda like Yahtzee) . Have the user enter 5 dice rolls (1-6) in any order. If any

image text in transcribed>>>>>>>>> Program using C++ Playing poker with dice. (Kinda like Yahtzee) . Have the user enter 5 dice rolls (1-6) in any order. If any are outside of the 1 to 6 inclusive range, just end the program. . Count and print the number of ones entered . Count and print the number of twos entered Count and print the number of threes entered Count and print the number of fours entered Count and print the number of fives entered Count and print the number of sixes entered . Tell if there are three or more dice the same . Tell if there are four or more dice the same Tell if there are five dice the same . Tell if there is a full house, 3 the same and 2 the same of a different number . Tell if there is a long straight... 12 345 or 2 3 456. So 5 3 4 2 6 contains a long straight. Tell if there is a small straight (1 2 3 4) or (2 3 4 5) or (3 45 6). So 3 2 4 1 1 contains a small straight . Yes, you can read ahead, but you don't need to

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions