grade arrays

Aug 11, 2009 at 11:02pm
I am trying to create a code that will give me a table a number of students (i.e. using ID in the fist column and numbering the students) and putting in grades and averages using arrays. Not too familiar with arrays but just looking to get some opinions on what type of loop would be good to use and how I should create the array. Any advice will be helpful
Aug 11, 2009 at 11:05pm
A simple for would be fine:
1
2
for ( int i = 0; i < array_size; i++ )
    cout << array[i] << '\n';
Topic archived. No new replies allowed.