#include <stdio.h>

int main() {
    int marks[5];
    printf("Enter marks of 5 students\n");
    for(int i=0;i<5;i++)
    {
        scanf("%d",&marks[i]);
    }
    for(int i=0;i<5;i++){
        printf("the value of marks is %d is %d\n",i,marks[i]);
    }
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: