CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 44
Write a program that inputs two numbers and determines which of the
two numbers is the smallest. If the numbers are equal, display a message
that they are equal.
Sample output from program:
You will be asked to enter two numbers.
The smallest value will be displayed or a message if they are the same.
Please enter a numeric value: 4
Please enter a numeric value: 7
The smallest value is 4
Press any key to continue . . .
AND THEN:
Please enter a numeric value: 7
Please enter a numeric value: 4
The smallest value is 4
Press any key to continue . . .
Step 2: Pseudocode
Using the pseudocode below, write the code that will meet the
requirements:
Display description of program
Prompt the user for the first number
Prompt the user for the second number