|
-
Apr 30th, 2009, 05:07 PM
#1
Thread Starter
New Member
Working with Arrays
I'm having some more trouble with working with arrays. My assignment is to take an input file of 10 numbers and display the original array, the array reversed (1st element is last element, etc.), the average of the parallel elements (nth element of both arrays), the average of the original array, and the elements greater than the average.
I know I need to load the file into an array. However, I can't seem to figure out how to reverse it, nor average the two even if I can get it reversed. Anyone have any suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|