...

/

Solution Review: Find Maximum in a List

Solution Review: Find Maximum in a List

This lesson will explain how to find the maximum number in a list using for loop.

Solution for Problem Statement1: Use for loop

The problem statement 1 states that the task is to find the maximum number in the list. The straight forward solution to the problem is:

  • Save the value of the first index.
  • Use
...