Question: in c++ Homework no.3 Q1) Write a program to read 10 temperatures in an array from the keyboard then compute and print the average of

in c++ in c++ Homework no.3 Q1) Write a program to read 10 temperatures

Homework no.3 Q1) Write a program to read 10 temperatures in an array from the keyboard then compute and print the average of all temperatures, the highest and lowest temperature? (2) Suppose you have this array int marks [5]={90, 70, 89, 60, 75). Write a program to print this array and update the marks in the array by adding 5 marks for each mark less than 90 and print the array after updating marks? (3) Write a recursive function that reads from the keyboard a set of characters and prints them backwards. Use the full-stop character () to determine the program. An example of the program input/output session should be as follow: Enter a character (. To end)? A Enter a character. To end)? B Enter a character (. To end)? C Enter a character (. To end)? . CBA (4) Write a function that reads number as seconds, the function should prints the hours, minutes and second of the numbers. Output format is something like: 7322 seconds is equivalent to 2 hours 2 minutes and 2 seconds

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!