Computer Science, asked by skhushi81, 8 months ago

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 Anonymous
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