Array Program To Enter & Display Marks – C Language

#include <stdio.h>
#include <stdlib.h>

int main()
{
int i,j;
int array[5];
printf(“Enter the marks =\n”);
for(i=0;i<5;i=i+1){
scanf(“%d”,&array[i]);

}
for(j=0;j<5;j++)
{
printf(“%d”,array[j]);
}

return 0;
}