Question: LC-3 Assembly program that accepts three numbers and displays the smallest and the largest numbers The program should ask users to enter three positive numbers.

LC-3 Assembly program that accepts three numbers and displays the smallest and the largest numbers

The program should ask users to enter three positive numbers. Assume that the numbers are less than 10 (one digit), the user only types the correct inputs. Your program should perform a number of simple comparison and processes to print out the smallest and the largest numbers as show below:

ID number : 12345678 Please enter number 1: 3 Please enter number 2: 2 Please enter number 3: 5 The smallest number is: 2

The largest number is: 5

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!