Note: (Restricted functionality due to obvious reasons!)
Minimal Code ( Raw-View ) :
#include<iostream.h>
#include<conio.h>
void main()
{
int a[50],n;
cout<<"Enter the number of students : ";
cin>>n;
for(int st=1; st<=n; st++)
{
cout<<"Enter marks for student "<<st<<" : ";
cin>>a[st];
}
cout<<endl;
for(st=1; st<=n; st++)
{
cout<<"Marks of student "<<st<<" are : "<<a[st]<<endl;
}
}