Question: Use Clion to work out this problem. Write a C program that will: 1. 2. 3. ask the user to enter two integers the computer

Use Clion to work out this problem.
 Use Clion to work out this problem. Write a C program

Write a C program that will: 1. 2. 3. ask the user to enter two integers the computer will then randomly select an integer between these two numbers (inclusive) the computer will then ask the user to guess the number it has selected. if the user's guess is not correct, the computer should indicate if the guess was too high or too low if the user's guess is correct the computer should report that the guess is correct and the number of tries it took to get the right answer. Sample Output: Please enter two integers for the range: 1 50 I'm thinking of a number between 1 and 50. Enter your guess: 25 Too high. 12 To high. To Low. 9 To high. 8 Correct, it took you 5 tries to guess my number

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!