Hello….
this is my assignment using assembly language ( visual studio program for programming ).
windows32 = use input to for prompts.
Just make sure to see all the red stars and red lines which is important AND do not forget the extra credit part.
if you have question let me know.
thanks
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).
Add the following comments to the beginning of the program.
Name:
Your Name
Class and Section: CS 245 02
Assignment:
Program Final Project
Due Date:
See above
Program Description: You write a short description of what the program will do
When you complete the program, do the following.
1. Create a folder with the following name: FinalProject
2. Copy and paste your program into Notepad or Notepad++ and save it to the folder with a .txt
extension.
3. Copy the folder to your folder in the I:\kopp\inbox\CS 245 02 folder
4. Print a copy of the source code and turn it in.
Extra Credit – 10 points
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
DO YOUR OWN WORK