Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ (1) Write a program to read 10 temperatures in an array from the keyboard then compute and print the average of all temperatures, the

image text in transcribedc++
(1) 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? Q2) 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)?. (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

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

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

Complexity of linear search is O ( n ) . Your answer: True False

Answered: 1 week ago

Question

=+Are the contracts enforceable?

Answered: 1 week ago