// array - 01
#include <stdio.h>
int main() {
int marks[3];
printf("Enter physics : ");
scanf("%d",&marks[0]);
printf("\nEnter chem : ");
scanf("%d",&marks[1]);
printf("\nEnter maths : ");
scanf("%d",&marks[2]);
printf("\nphy = %d, chem = %d, maths = %d",marks[0],marks[1],marks[2]);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: