Computer Science, asked by Mohammedyounas2118, 10 months ago

Write C statement to declare an array to store marks of 50 students in English.

Answers

Answered by thasneeemfathima2017
2

Answer:

Explanation:

#include<stdio.h>

int main()

{

int n;

scanf("%d",&n); // number of students

int eng[50];

int i;

printf("The marks in english : ");

for(i=0;i<n;i++)

{

scanf("%d ",&eng[i]);

}

printf("The scores in english for %d students are : ", n);

for(i=0;i<n;i++)

{

printf("%d ",eng[i]);

}

}

I hope this is helpful :)

Similar questions