
Create a class called Array for performing a float one dimensional array. Define all the necessary variables to represent the private part. Provide a constructor that enables an object of this class to be initialized when it's declared. The constructor should contain default size in case no initializers are provided which is 10. Provide a proper destructor. Provide public methods that perform each of the following tasks: Set the array values (Set). This function sets the array elements with a specific location. Get the array values (Get). This function returns the array element with a specific location. Function called Max to get the maximum element of the array. Write a program to test your class. Define an object (array) with size 20 and another object with the default value. Fill the two arrays with values. Find the maximum number of the first array.

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps

- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY





