Question: 1 4 . 1 5 LAB: Find max in list Given the IntNode class, define the FindMax ( ) function to return the largest value

14.15 LAB: Find max in list
Given the IntNode class, define the FindMax() function to return the largest value in the list or -99 if the list is empty. Assume all values in
the list are non-negative.
Ex: If the list contains:
head 14191186181
FindMax(headNode) returns 191.
Ex: If the list contains:
head ->
Find Max(headNode) returns -99.
LAB
ACTIVITY
14.15.1: LAB: Find max in list
main.cpp
1 4 . 1 5 LAB: Find max in list Given the IntNode

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 Programming Questions!