Question: Write a Raptor program for the following problem. Display the whole numbers -5 to +5 with steps of 1. Find and display the total of

Write a Raptor program for the following problem. Display the whole numbers -5 to +5 with steps of 1. Find and display the total of whole numbers between 2 values entered by the user. If the first number is more than the second number, display an error message. Input a list of peoples ages terminated by 999 and calculate and display the average age. Be sure to check that the user only inputs positive numbers for age. Positive numbers are numbers greater than or equal to 0. Allow the user to enter a series of weights in pounds terminated by the input of -999. For each weight value, calculate the corresponding weight in kilograms. The conversion formula is: kilograms = pounds / 2.2046. For example, a person with the weight of 150 pounds will weight 68.03 kilograms. Also, calculate and display the total of weights in pounds as entered by the user. Finally, ask the user to enter the number of data points for cars miles driven and gas used. Create a loop to ask the user to enter the miles driven and the number of gallons of gas used and calculate the display the cars miles per gallon. So, if the user enters 3 for the number of data points, the loop repeats 3 times.

Or if you can put it in a flowchart using raptor.

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!