Fill This Form To Receive Instant Help
Homework answers / question archive / Using C++ You are required to write a interactive program that prompts the user for ten (10) real numbers and performs the following tasks: 1- Reads and stores the numbers into one-dimensional array called A
Using C++ You are required to write a interactive program that prompts the user for ten (10) real numbers and performs the following tasks:
1- Reads and stores the numbers into one-dimensional array called A. The program must use a function to perform this task.
2- Prints the content of the array. Write a function to perform this task.
3- Calculates the sum of the numbers. Use a function to perform this task.
4- Find the average of the numbers. Utilize a function to perform this task.
5- Prints the sum and the average. Write a function that receives these values and print them.
Program requirements:
- The program must utilize a class, an object and all the necessary functions to perform the above tasks.
- The program must be fully documented.
- You must submit a digital copy of the source and a properly labeled output.
- Test your program for different values using real numbers.