Question: 1- Write a program to read 10 numbers and find the average of these numbers. Use a while loop to read these numbers. 2- Now

1- Write a program to read 10 numbers and find the average of these numbers. Use a while loop to read these numbers. 2- Now modify the program to find the maximum of these numbers as well outside the loop and assign it to the max variable. As you read each number you must use the if statement and check it against max. 3- Write a program to read a temperature in Centigrade and convert it to Fahrenheit. Then using else if statements displays the following statements: Greater than 90: It is hot Greater than 80 but less than or equal to 90: Warm Greater than 60 but less than or equal to 80: Good Greater than 30 but less than or equal to 60: cold Other than that: Freezing 4.7 Write for statements that print the following sequences of values: a. 1, 2, 3, 4, 5, 6, 7 b. 3, 8, 13, 18, 23 c. 20, 14, 8, 2,-4,-10 d. 19, 27, 35, 43, 51
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
