#include <stdio.h>

int main() {
    int marks [3],maths,physics,chemistry;
    printf("enter maths marks : \n ");
    scanf("%d", &marks[0]);
    
    printf("enter physics marks : \n");
    scanf("%d", &marks[1]);
    
    printf("enter chemistry marks : \n");
    scanf("%d", &marks[2]);
    
    printf("maths = %d,physics = %d , chemistry = %d",marks[0],marks[1],marks[2]);
    return 0;
}

Embed on website

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