Program to illustrate array of structure

#include<iostream.h>
#include<conio.h>
struct student
{
 char name[10];
 int age;
 int m[5];
};
void main()
{
clrscr();
int i,j,b=1,c=1;
student s[3];
cout<<"\n";
cout<<"Enter name age and subjects";
cout<<"\n\n";
for(i=0;i<1;i++)
   {
    cout<<"\nname   -  ";
    cin>>s[i].name;
    cout<<"\nage    -  ";
    cin>>s[i].age;
    cout<<"\n";
    cout<<"marks\n\n";
    for(j=0;j<5;j++)
       {
        cout<<b<<"    -  ";
        cin>>s[i].m[j];
        cout<<"\n";
        b++;
       }
   }
cout<<"\n\n";
cout<<"Details are";
cout<<"\n\n";
for(i=0;i<1;i++)
   {
     cout<<"name    -"<<s[i].name<<"\n\n"<<"age    -  "<<s[i].age;
     cout<<"\n\n";
     cout<<"marks";
     cout<<"\n\n";
     for(j=0;j<5;j++)
       {
        cout<<c<<"    -  ";
        cout<<s[i].m[j]<<"\t";
        cout<<"\n\n";
        c++;
        }
    }
getch();
}