Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the code for the following problem in Raptor: a . Ask the user for the number of temperature readings. Make sure the user enters

Write the code for the following problem in Raptor:
a. Ask the user for the number of temperature readings. Make sure the user enters a
number between 1 and 10, inclusive.
b. For each temperature reading, ask the user for temperature in degrees Celsius.
c. Calculate the temperature in degrees Fahrenheit. The conversion formula is:
Fahrenheit =9/5* Celsius +32.
d. Display the temperature in degrees Celsius and degrees Fahrenheit.
e. If the temperature in Celsius is even, display the message EVEN, otherwise
display ODD.
f. Find the highest temperature in degrees Celsius.
g. Display a message based on the following criteria:
Temperature in Fahrenheit message
Less than 40 Cold
40 or more Okay
h. Display the highest temperature in degrees Celsius.

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

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions

Question

Why are flexible resources essential to lean production?

Answered: 1 week ago

Question

7. What is coaching? Is there only one type of coaching? Explain.

Answered: 1 week ago