Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions

Question

Explain an application of K-means clustering.

Answered: 1 week ago

Question

LO1 Discuss four different views of motivation at work.

Answered: 1 week ago

Question

LO6 Summarize various ways to manage retention.

Answered: 1 week ago

Question

LO3 Define the difference between job satisfaction and engagement.

Answered: 1 week ago