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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started