Question: Write a C program that picks a random number from 1 to 50. Allow the user to guess the random number by printing if each

Write a C program that picks a random number from 1 to 50. Allow the user to guess the random number by printing if each guess is higher or lower than the random number. If the user cannot guess the random number in 5 guesses, print out the random number picked. If the user guesses the number in 5 or fewer guesses, print how many guesses it took the user to guess the random number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
