Question: Averages and Distances Write a Windows32 Assembly Language program that will accomplish the following: 1. Prompt the user for four integers. (Just use four different

Averages and Distances Write a Windows32 Assembly Language program that will accomplish the following: 1. Prompt the user for four integers. (Just use four different identifiers to hold these values. We will discuss data structures later.) 2. The program should calculate the average of these inputs. (Just use integer division.) AVERAGE 0 8241 The average of 486 -6243 3. Display the results, in one output window, as follows: is 621 OK DIFFERENCE X 4. Then report how far away each input value is from the average as follows: Average = 621 Distance from average 486 135 -6243 6864 0 621 8241 -7620 OK You must include the leading comments that include the academic integrity policy statement, your name, the date, and the general purpose of the program. You must use ample and meaningful comments in your program. . You must use meaningful identifier names in your program. You must use proper indentation. Test your program to ensure your calculations are mathematically correct Make sure the display of the results is as instructed. Attach your .asm file for grading. I loload Averages and Distances Write a Windows32 Assembly Language program that will accomplish the following: 1. Prompt the user for four integers. (Just use four different identifiers to hold these values. We will discuss data structures later.) 2. The program should calculate the average of these inputs. (Just use integer division.) AVERAGE 0 8241 The average of 486 -6243 3. Display the results, in one output window, as follows: is 621 OK DIFFERENCE X 4. Then report how far away each input value is from the average as follows: Average = 621 Distance from average 486 135 -6243 6864 0 621 8241 -7620 OK You must include the leading comments that include the academic integrity policy statement, your name, the date, and the general purpose of the program. You must use ample and meaningful comments in your program. . You must use meaningful identifier names in your program. You must use proper indentation. Test your program to ensure your calculations are mathematically correct Make sure the display of the results is as instructed. Attach your .asm file for grading. I loload
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
