Question: C++. Write a program that inputs two numbers and determines which of the two numbers is the smallest. If the numbers are equal, display a

C++. 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. 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 If first number equals second number Display the two numbers are equal Else If first number is greater than second number Assign second number to smallest Else Assign first number to smallest End-If Display smallest number End-If

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!