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 =95** 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:
\table[[Temperature in Fahrenheit,message],[Less than 40,Cold],[40 or more,Okay]]
h. Display the highest temperature in degrees Celsius.
image text in transcribed

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions