Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Development Of Knowledge Framework For Affective Content Analysis

Authors: Swarnangini Sinha

1st Edition

B0CQJ13WZ1, 979-8223977490

More Books

Students also viewed these Databases questions

Question

=+3. What is the emotion? Love Appeal

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago

Question

d. What language(s) did they speak?

Answered: 1 week ago

Question

e. What difficulties did they encounter?

Answered: 1 week ago