Sample Output:Enter 5Exam Scores:
Exam Score No. 1 => 91
Exam Score No. 1 => 75
Exam Score No.1 => 85
Exam Score No. 1 => 55
Exam Score No. 1 => 90
how can i code this part?
No. of Outstanding Scores : 2
No. of Satisfactory Scores : 2
No. of Unsatisfactory Scores : 1
i have this code now for the upper part
#include <stdio.h>
#include <conio.h>
int main()
{
int score[5],i;
printf("Enter 5 exam scores:\n");
for(i=0;i<5;i++)
{
printf("\tExam Score No. %d: ", i+1);
scanf("%d",&score[i]);
}
Last edited on
it works! thankyou very much for your help!