i just want you do a program (windows 32) assembly language

Nyfnonna77
timer Asked: May 4th, 2017

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

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Related Tags

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