Question: Question 2 : List check... ( 2 0 points ) Given a list of numbers, write a code to find the largest and smallest numbers

Question2: List check...
(20 points)
Given a list of numbers, write a code to find the largest and smallest numbers in the list using a loop.
Test your code for these cases:
a)[0,1,2,3,4,5]
b)[101,-90,0,10000,-2]

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!