The following code sums up the total of all students name starting with ‘S’ and display it.
Fill in the blanks with required statements.
struct student {int exam no,lang,eng,phy,che,mat,csc,total;char name[15];};
int main()
{
student s[20];
for(int i=0;i<20;i++)
{ .......................... //accept student details }
for(int i=0;i<20;i++)
{
.......................... //check for name starts with letter “S”
........................ // display the detail of the checked name
}
return 0;
}
Answers
Answered by
0
Answer:
31
Explanation:
Similar questions