Question: I need help please in learning how to give hints based on guessed numbers by a certain amount in a guessing numbers game. Right now

I need help please in learning how to give hints based on guessed numbers by a certain amount in a guessing numbers game. Right now I have an if else loop going but i think the logic may be messed up.

Example: If the guessed number is greater or lower than the actual number but within 20, tell user they are warm. If the guessed number is greater or lower than the actual number and not within 20, tell the user they are cold.

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!