//create an arrey from take data from user
#include "stdio.h"
int main (){
int i;
int marks[9];
printf ("enter all 9 marks :\n");
for (i=0;i<9;i++){
scanf ("%i\n",&marks[i]);
}
printf ("display all 9 marks :\n");
for (i=0;i<9;i++){
printf ("%i\n",marks[i]);
}
return 0;
}
output output output output
32
34
54
56
76
78
89
76
56
45
display all 9 marks :
32
34
54
56
76
78
89
76
56
45
No comments:
Post a Comment