- Home >
- Programming >
- i just want you do a program (windows 32) assembly language
i just want you do a program (windows 32) assembly language
Question Description
The following design will input numbers into an array of doublewords, using the sentinel value -9999 to terminate input.
nbrElts := 0
get address of array
prompt for and input number
while number != -9999 loop
add 1 to nbrElts
store number at address
add 4 to address
prompt for and input number
end while
Implement this design in a windows32 program that uses a dialog box to prompt for and input each number. Assume that no more than 100 numbers will be entered. Use a single message box to report the sum of the numbers and how many numbers were entered (not counting the sentinel value).
.
Using the above program, display in the same message box the following additional calculations:
The average of the numbers
The count of the array entries that are greater than or equal to the average value
Calculate the difference of the sums of the differences, that is, subtract the average for the first number and add that to a total, then subtract the average from the second number and add it to the total. Continue until you have done this for all numbers in the array
This question has not been answered.
Create a free account to get help with this and any other question!
Similar Content
Fear - Trump in the White House
by Bob Woodward
The Remains Of The Day
by Kazuo Ishiguro
Salt To The Sea
by Ruta Sepetys
Catch-22
by Joseph Heller
The Girl With The Dragon Tattoo
by Stieg Larsson
The Age of Innocence
by Edith Wharton
Mrs Dalloway
by Virginia Woolf
Enders Game
by E. M. Forster
No Exit
by Taylor Adams
Studypool values your privacy. Only questions posted as Public are visible on our website.
Brown University
1271 Tutors
California Institute of Technology
2131 Tutors
Carnegie Mellon University
982 Tutors
Columbia University
1256 Tutors
Dartmouth University
2113 Tutors
Emory University
2279 Tutors
Harvard University
599 Tutors
Massachusetts Institute of Technology
2319 Tutors
New York University
1645 Tutors
Notre Dam University
1911 Tutors
Oklahoma University
2122 Tutors
Pennsylvania State University
932 Tutors
Princeton University
1211 Tutors
Stanford University
983 Tutors
University of California
1282 Tutors
Oxford University
123 Tutors
Yale University
2325 Tutors