write the program for the following. 1.to display the marks of four subjects and find the total marks
Answers
Answered by
0
Explanation:
Write a C program to input marks of five subjects of a student and calculate total, average and percentage of all subjects. How to calculate total, average and percentage in C programming. Logic to find total, average and percentage in C program.
Example
Input
Enter marks of five subjects: 95 76 85 90 89
Output
Total = 435
Average = 87
Percentage = 87.00
Similar questions
Math,
1 month ago
Math,
1 month ago
Social Sciences,
1 month ago
Biology,
3 months ago
Social Sciences,
9 months ago
Economy,
9 months ago