Question: please help with the C program, the output should be as same as below When running the program, the user will be asked to enter
please help with the C program, the output should be as same as below
When running the program, the user will be asked to enter an integer number, which will be used as a seed for the generation of random numbers when rolling the dice. Then, your program prints a welcome menu displaying two options:
1) Press 'P' or 'p' to play or
2) Press 'Q' or 'q' to quit.
If the selected option is to play the game, the players should roll the dice (press enter) to determine which player should go first. The player who gets the highest value will go first in the game.
Here is an example output:
HUMAN PLAYER, Press
6 and 2 for a 8
COMPUTER PLAYER, Press
3 and 2 for a 5
HUMAN PLAYER goes first
If there is a tie determining who goes first (i.e. both the Human and Computer roll the same value), a message is printed stating so, and the process is repeated until two different values are rolled. The highest roll then goes first.

When running the program, the user will be asked to enter an integer number, which will be used as a seed for the generation of random numbers when rolling the dice. Then, your program prints a welcome menu displaying two options 1) Press 'P' or 'p' to play or 2) Press ' or 'd' to quit. If the selected option is to play the game, the players should roll the dice (press enter) to determine which player should go first. The player who gets the highest value will go first in the game. Here is an example: HUMAN PLAYER, Press
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
