Question: In assembly lanuage Write a program that will ask the user for a number between 5 and 2 5 . Generate the sum and compute

In assembly lanuage Write a program that will ask the user for a number between 5 and 25. Generate the sum and compute the average of random numbers in the range of 5 to 25 until a generated random number matches the number input by the user. Do not include this number as part of your sum. Each randomly generated number has to be printed to the screen.
Make sure you prime your loop properly.
Example Run:
Enter a number
10
8 numbers were randomly generated before 10 was generated. The sum of the numbers is 91, the average is 11.
NOTE:
You are not allowed to use any high level decisions or looping like .IF,.ELSE. WHILE, .REPEAT

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!