Question: C++ Programming c. To decide which branch they should close down, the owners are interested to identify the branch with the lowest average sales. Write

 C++ Programming c. To decide which branch they should close down,

C++ Programming

c. To decide which branch they should close down, the owners are interested to identify the branch with the lowest average sales. Write a function called getLowest() that will receive the average array as a parameter. The function will compare all sales average and determine the lowest value. The value should be stored in a variable called lowest which should be returned to the main function. (7 Marks)

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!