Question: 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

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!