Question: write a complete c++ program using the following specifications: please use pointer notation to code this program. -in function main(), declare an array named numbers[],

write a complete c++ program using the following specifications: please use pointer notation to code this program.

-in function main(), declare an array named numbers[], type integer size 5.

-pass the array to a function named loadArray(), and ask the user to enter 5 integer values into the array elements,(callby reference).

-pass the array to function named Maximum(), that will find the largest number in the array and returns the largest number back to main.(call by refernce)

-pass the array to a function named minimum(), that will find the lowest number in the array and returns the lowest number back to main,(call by reference )

-pass the largest and lowest numbers to a function named print (), that will display the following outputs on your monitor:(call by value)

the largest number was : 99

the lowest number was: 99

please note: 99 means that the numbers enterd into array numbers[] are 2 digits

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!