Create a user-defined function to input marks in any three subjects out of 100 and find out the total and percentage. (Percentage= Total marks obtained/Total maximum marks *100)
Your answer
Answers
Answered by
1
Answer:
==>> Input
Input marks of five subjects: 95
95
97
98
90
Explanation:
Write a C program to input marks of five subjects Physics, Chemistry, Biology, Mathematics and Computer, calculate percentage and grade according to given conditions:
If percentage >= 90% : Grade A
If percentage >= 80% : Grade B
If percentage >= 70% : Grade C
If percentage >= 60% : Grade D
If percentage >= 40% : Grade E
If percentage < 40% : Grade F
Similar questions
Business Studies,
4 months ago
Physics,
8 months ago
Math,
8 months ago
Math,
1 year ago
Computer Science,
1 year ago