Difference between revisions of "CSC111 Final Exam 2015b"

From dftwiki3
Jump to: navigation, search
(p)
 
Line 49: Line 49:
 
<br />
 
<br />
 
Using the program above as inspiration, write a program that contains a recursive function call findMax(), and that gets a list from the user, as with the program above, computes and displays the largest element of the list.  The list entered by the user may contain sub-lists, as illustrated above.
 
Using the program above as inspiration, write a program that contains a recursive function call findMax(), and that gets a list from the user, as with the program above, computes and displays the largest element of the list.  The list entered by the user may contain sub-lists, as illustrated above.
 +
<br />
 +
==Additional Information==
 +
<br />
 +
The list will contain only integers.  The main list and the sublists will never be empty, and will always contain at least one integer.
 
<br />
 
<br />
 
==Restrictions==
 
==Restrictions==

Revision as of 21:24, 6 December 2015

--D. Thiebaut (talk) 21:22, 6 December 2015 (EST)



...