Challenge 2: Find Maximum in a List
In this challenge, find the maximum number in a List.
Problem Statement 1
Create a findMaximum
function that receives a list
as a parameter and returns the maximum value in the list. As you iterate over the list, you may want to keep track of the current maximum value in order to keep comparing it with the next elements of the list. ...
Access this course and 1400+ top-rated courses and projects.