subject

Write a program using Masm615 Assembly language called "NumAverage" that inputs numbers (non-zero positive integers) from a user, averages those numbers, and then displays the result. The program should keep asking for new numbers until the user enters "q" (for quit) or any other character. At that time, the program should average all the numbers entered and display the result. You will need a counter to keep track of the how many numbers are entered. Make sure you display adequate instructions on how the program works. Also display an informative output.
Example:
Enter a number: 32
Enter a number: 18
Enter a number: 10
Enter a number: q
The average of your numbers is: 20

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
question
Computers and Technology, 23.06.2019 23:30
Perform an online search about the booting process of a computer and list all the steps
Answers: 2
question
Computers and Technology, 24.06.2019 18:20
The following if statement contains a logic error, not a syntax error. rewrite it so that it is correct. assume the variable age already exists and holds a valid number. if (age == 18 & & age == 19) {
Answers: 1
You know the right answer?
Write a program using Masm615 Assembly language called "NumAverage" that inputs numbers (non-zero po...
Questions
question
History, 17.12.2020 21:00
question
Mathematics, 17.12.2020 21:00
question
Mathematics, 17.12.2020 21:00
question
Mathematics, 17.12.2020 21:00
Questions on the website: 13722362