USING ARRAYS

Hi.. I just started learning about arrays.. and I got this question to do:
Question:
Using the array to accept 10 testscore. Calculate and print the highest, lowest, fifth test score entered and all the test score entered in reverse order.

I have little idea of what this is saying.. but what confuses me is how i would get it to print the highest,and lowest and in reverse order. I'm confused as to what to do...
any help??
I would be sooo grateful.
thankyou.
What it's saying is that your program should act something like this:
Enter 10 test scores: 85 73 96 78 92 94 67 81 79 80
Highest score: 96
Lowest score: 67
Fifth test score entered: 92
In reverse order: 80 79 81 67 94 92 78 96 73 85

To find the highest/lowest score in an array, loop through the array while keeping track of the highest/lowest score you've seen so far.
http://www.cplusplus.com/forum/beginner/16878/


that's min and max.

to print out in reverse you need to do the 'opposite' of the for loop in that last post.
Last edited on
THANKYOU!
can any one help me in file handling issues?
Topic archived. No new replies allowed.