Question: Can you please solve this problem using #include #include #include not the iostream thing 1. For this problem, you will begin creating a program that

Can you please solve this problem using #include
#include
#include
not the iostream thing  Can you please solve this problem using #include #include #include not

1. For this problem, you will begin creating a program that will allow a person to play Yahtzee. You will only do one small part of the program, however. Your job will be to: Use therandom number generator, seeded with time, to assign 5 random numbers(1 -6) into an array Print the five dice numbersto the screen . . Ask the user to select which dice they'dlike to keep Print the five dice numbersto the screern * Again, ask the user to select which dice they'dliketo keep Then roll thenon-selected dice again Then takethe final roll of the non-selected dice Print the final dice rolls to the screen. 32515 Would you like to keep dice 17 N Would you like to keep dice 27 N Would you like to keep dice 37 Y Would you like to keep dice 4? N Would you like to keep dice 5? Y 52515 Output shouldlook like this: You shoulduse an integer array for the dice and a character array for whether you Would you like to keep dice 1? Y keep the dice or not. Everything can be W done in main. Would you like to keep dice 221N Would you like to keep dice 3? Y Would you like to keep dice 4? N Would you like to keep dice 57 Y

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 Databases Questions!