Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write in C++ 1. Write a C++ program that does the following. a. In the main, declare an array of size 15 of a

image text in transcribedPlease write in C++

1. Write a C++ program that does the following. a. In the main, declare an array of size 15 of a type "integer". (10 points) b. Write a function that allows user to enter values into the declared array (Step a). (15 points) c. Write a function to that calculates the mean (the average) of the declared array (Step a) and returns the mean to the main to be displayed on the console. (20 points) i. Use forward declaration for this function. (5 points) d. Write a function that finds the lowest value of the declared array (Step a) and returns the lowest value found to main to be displayed on the console ( 20 points) i. Use forward declaration for this function. (5 points) e. Write a function that finds the highest value of the declared array (Step a) and returns the highest value found to main to be displayed on the console ( 20 points) i. Use forward declaration for this function. (5 points) 2. The program runs as expected without any issues. ( 25 points)

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

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago