Question: Write a program that asks the user for two different numbers and prints out the smallest one. Your program should work like this:Enter a number:

Write a program that asks the user for two different numbers and prints out the smallest one. Your program should work like this:Enter a number: 100Enter another number: 9595Here is another example:Enter a number: 4Enter another number: 144If the numbers are the same it doesn't matter which one you print.

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 Databases Questions!