Question: Complete the FindMax 0 member function in Numbers.cpp that returns the largest value in vector nums. You ONLY have to fill in the function in

Complete the FindMax0 member function in Numbers.cpp that returns the largest value in vector nums.
You ONLY have to fill in the function in Numbers.cpp. Numbers.h and main.cpp cannot be touched.
Note: The nums vector is filled with 10 pseudo-random integers in main() using the FillRandomly() member function from Numbers.cpp
with a seed value of 7. There is NO input passed to this lab. When submitted for grading, the test cases use different seed values to
generate different vectors. Refer to the textbook section on Random numbers to learn more about pseudo-random numbers.
Ex: If the seed value is 7,
Then the vector will be:
677,299,899,871,325,443,586,97,600,153
and the output should be:
899
523570.3966720.q3zqy7
LAB
ACTIVITY
26.24.1: 1/16 LAB: Find the maximum in a vector
#include
 Complete the FindMax0 member function in Numbers.cpp that returns the largest

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!