Question: Minimum of numbers input until a sentinel Write a program that inputs numbers from the user, using - 1 to terminate the input. The program

Minimum of numbers input until a sentinel
Write a program that inputs numbers from the user, using -1 to terminate the input. The program should then display the smallest of all the
numbers (not counting -1). Here is sample output:
You will need to write a sentinel-controlled loop, similar to the "Example: Getting input until a sentinel is seen" in zyBook section 10.3.
To help you figure out how to find the smallest number, look at zyBook section 10.3: Challenge Activity 10.3.1.
Please post your Python code here, in the text of your post. If your code doesn't work, please post your code anyway, and tell us about any
problems or questions you had (including any error messages).
Minimum of numbers input until a sentinel Write a

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!