Finding Maximum in List
Assume data are positive integers.
Set sentinel to -999 (or any non-positive integer).
Write a do-while loop.
Previous slide
Next slide
Back to first slide
View graphic version