ive just started learning c++ assembly, kinda getting the hang of it but ive got stuck on loops and arrays working together.
Basically i've got to make a script which will take 4 inputted values store them in an array and then the script will work out the average out of the in putted numbers.
@Offtopic
How does that Sleep function work ? :D
Is it just a loop that keeps your prog busy for a few sec? (if thats the case , there would be a lot better replacements :D)
or does it really count in miliseconds or something?
okay guys im really stuck on this and i need help badly. All i know is that i need a loop at the begining to ask for four different marks, these marks have to be between 0-100. the marks are then stored in array and then i do a sum such as SAR EAX,2 to work out the average mark.
If you guys could help that would be great!
@offtopic
it counts down so you are able to see outputs etc