can't make output for this

hello
I'm beginner and making a program to enter 100 student's names and their scores in 5 subjects then it outputs every student name ,his scores ,the total score for him and did he get the highest score or not?
that's what I made
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream.h>
using namespace std;
main()
{
      float degree[100][5];
      string name [100];
      for(int i=0;i<100;i++)
              {
                      cout<<"Enter the name of student "<<i+1<<endl;
                      cin>>ws;
                      getline (cin,name[i]);
                      for(int j=0;j<5;j++)
                               {
                                           cout<<"Enter the result of subject "<<j+1<<" for: "<<name[i]<<endl;
                                           cin>>degree[i][j];
                               }
              }
system("pause");
}

How can I make the output
Last edited on
Hi there im totally a newbie into this programing lang' how do i start off and wht software should i use to write these codes??
Topic archived. No new replies allowed.