Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You are required to create a game that will operate asfollows: -The player will

ID: 3617056 • Letter: Y

Question

You are required to create a game that will operate asfollows:    -The player will guess a number between 1 and9    -The computer will then select a random numberbetween 1 and 9    -The program will then compare the two numbers,and if they are equal the player wins and his/her score isincreased by 1. If they are not equal the computer score isincreased by 1.    -The player can exit the game by entering -1.When this occurs the players score and the computer score isdisplayed on the screen and the overall winner is congratulated viaan appropriate message on the screen.  
You are required to create a game that will operate asfollows:    -The player will guess a number between 1 and9    -The computer will then select a random numberbetween 1 and 9    -The program will then compare the two numbers,and if they are equal the player wins and his/her score isincreased by 1. If they are not equal the computer score isincreased by 1.    -The player can exit the game by entering -1.When this occurs the players score and the computer score isdisplayed on the screen and the overall winner is congratulated viaan appropriate message on the screen.  

Explanation / Answer

please rate - thanks with "variety" #include #include #include #include int main() {srand(time(0)); int computer,person; int personScore=0,computerScore=0; printf("Enter a number(
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote