Saved Bookmarks
| 1. |
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 |
|
Answer» Answer: ==>> InputInput marks of five subjects: 9595979890Explanation: 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 |
|