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, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
Write a program using Masm615 Assembly language called "NumAverage" that inputs numbers (non-zero po...
Questions
Questions on the website: 13722367