4.14 LAB: Smallest number Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
Added by Kim V.
Close
Step 1
- We need to write a program that takes three integers as input. - The program should output the smallest of these three values. - Example provided shows inputs of 7, 15, and 3, with the expected output of 3 (which is indeed the smallest value). Show more…
Show all steps
Your feedback will help us improve your experience
Haricharan Gupta and 81 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Python Please: Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3, the output is: 3.
Liam H.
Rosemary C.
Write a program whose inputs are three integers, and whose output is the smallest of the three values.Ex: If the input is:7 15 3 the output is:3
Shelayah R.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD