Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started