Question: Task 2 Use C++ Object Oriented Program to Write a program that uses an array to find the Average of a set float values entered
Task 2 Use C++ Object Oriented Program to Write a program that uses an array to find the Average of a set float values entered by the user. You will have the main function control the operation of the program, but all values will be stored in the class. You will need to use get and set methods in your class. Create an array as a member of the class Create 1 method to handle user input. Create 1 method to sum all numbers in array Create 1 method to output the average of all numbers input by the user. Create 1 method to output all the numbers input by the user. . Create a Method that will return the largest element in the array. . Create a method that will return the smallest element in the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
