WAP for array input from user

#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr( );
//Array declaration
int marks[5],i;
//Array input
printf(“Enter marks of 5 students : \n”);
for(i=0;i<5;i++)
scanf("%d",&marks[i]);
// Array output
printf("\nMarks of 5 students are : \n");
for(i=0;i<5;i++)
printf("%d\t",marks[i]);
getch( );
}
OUTPUT :
Enter marks of 5 students :
50 60 70 80 90
Marks of 5 students are :
50 60 70 80 90