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

I need help writing this program Write a program that will ask the user to selec

ID: 3623899 • Letter: I

Question

I need help writing this program

Write a program that will ask the user to select an integer number in the range 1 – 100 (inclusive). Store this value in the int variable value.

Do Loop

Prompt the user to guess the random number. Tell the user that the

number is in the range 1 – 100.

Store the user input in the variable guess.

While (guess does not equal value) continue looping

Tell the user their guess was correct and thank them for using your program.

Exit your program with a return statement

Explanation / Answer

#include #include using namespace std; int main () { int value, guess; cout > value; srand(value); value = rand() % 100 + 1; cout > guess; while (value != guess) { cout > guess; } cout