Question: Student grade calculator Write a C program that calculates and displays the final grades for a student based on their scores in different subjects. The
Student grade calculator
Write a C program that calculates and displays the final grades for a student based on their scores in different subjects. The program should allow the user to input scores for multiple subjects and then
calculate the average grade ansd overall grade for the student.
Requirements:
The program should start by asking the user for their name.
Then, it should ask the user how many subjects they want to calculate grades for. For each subject, the program should prompt the user to enter the subject name and the score as a percentage
Calculate the average grade based on the scores and display it
Determine and display the overall grade based on the following grading scale:
:
:
:
:
:
: Below
The program must also write the same report to a file
Student: John Deere
Subject Score Grade
C Programming
Python
Computer Architecture
Average Grade:
Welcome to the Student Grade Calculator!
Please enter your name: John Deere
How many subjects do you want to calculate grades for?
Enter subject name: C Programming
Enter your score for C Programming :
Enter subject name: Python
Enter your score for Python :
Enter subject name: Computer Architecture
Enter your score for Computer Architecture :
Student: John Deere
Subject Score Grade
C Programming
Python
Computer Architecture
Average Grade:
If the users enter the scores are less than and more than the output will show the percentage is the same as the score for example and the score will be If the name of the subject has more than one word the program also need to notice and show the name exactly the same. In the output the score and grade line need to be in line from up side down.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
