Question
Using Structures in C, write an interactive program to display the mark-sheet and grade card for 10 students for a MOOC course. Note: Assumptions can be made wherever necessary and mention them.
Answer :
Word Count : 928
To solve the problem of generating a marksheet and grade card for 10 students of a MOOC course using structures in C, we will proceed step-by-step.
Assumptions:
- The course has 3 subjects.
- Marks for each subject are entered as integers.
- The total marks for each student will be calculated as the sum of marks across all subjects.
- The grade is based on the total marks, with the following grading system:
- 90 and above: Grade A
- 75 to 89: Grade B
- 60 to 74: Grade C
- 50 to 59: Grade D
- Below 50: Grade F
- The student’s name, roll number, and marks for each subject will be input interactively.
Approach:
- We will define a structure to store the details of each student.
- For each student, we will store their name, roll number, and marks in 3 subjects.
- We will calculate the total marks and assign the grade.
- We will display the result for each student in a formatted manner.
Structure Definition:
A structure Student will be used to store the following information:
name: A string to store the ____ _____ ___ ________ ____ ___ ________.
_________ __________ ______ ___ _______.
____ _____ __________ _______ ___ ________ ___ _________.
________ ______ _________ ____ _______ ________ __________ _________ ______ _____ ___.
________ _____ ______ _______ ____ _________ ___ ______ __________ _________ ______ ____.
______ _______ _____ ____ ___ ____ _______ _____ ___ ______ ________.
________ ___ ____ ____ _________ __________.
_______ _________ ___ ___ __________ _______ ________.
______ ___ _____ ____ ______ ____ ____ ________ ______ _______ _________.
_______ _____ ________ ___ _____ _________ ___ _____ ___ _________.
____ _______ ____ _____ ____ __________ ___ ___.
_______ ______ ________ ___ _____ ____ _________ _____ _______.
______ ____ _______ _______ ________.
__________ _______ __________ _________ _____ ______ ______ ___ ___.
______ ______ _____ ____ __________.
__________ _________ ______ _____ ___ _____ _______ ____.
____ ____ ____ _____ ___ ___ __________ ____ ___.
______ _________ _______ _____ _______.
________ ________ _____ _____ ________ _____ _________ ______ ____ __________.
_________ ___ ________ ___ ________.
___ ________ _______ _______ ____ ____ ______ _______ ____.
______ ________ _________ __________ _______ _______.
__________ ___ ___ _______ ______ _______ _______ ____ ___ __________ ___.
___ ____ ____ ____ _______ _____ ________ _________.
_________ ______ ________ _________ ____ _________ ___ __________.
___ ______ ___ _______ ________ _____ ________.
________ ______ ____ ____ _________ __________ _____.
__________ ______ ___ ___ ___ _____ ______ ___ _________ ___ _____ _______.
____ __________ ___ _____ ___ ___ ___ ________ ______ ______ ______.
_____ __________ ___ ___ ______ ___ _______.
___ _______ ________ ________ _____ ____ ___ ____ ____ _______.
_____ ___ _________ _________ ___ ________ _______.
________ ______ _______ _____ __________ __________ ______ ___ ______.
__________ ________ ______ _________ ___.
________ _________ ____ _________ _______ ________.
_________ ______ _______ __________ ___ _________.
_________ __________ _______ _______ _____ _________ __________ ____ _______.
__________ _________ ______ _________ _____ ______ ______ _________ ______.
____ ____ ____ _________ _________.
__________ _______ ____ _____ ____ _________ _________.
__________ ___ __________ __________ _________ ___ _________.
________ ____ _______ _________ ________ _________ __________ ________.
_____ ______ ________ _________ ______ ______ ____ ___ ________ ______ _____.
_________ _________ _____ ____ ____ _______ _______ _____ _________.
___ ______ ____ ___ _________ _________ _____ _____ __________ _____ _________ ______.
_______ _______ _____ _____ _________ ______ _______ ________ __________.
_________ ________ ______ __________ ______ _________ ____ _________ __________.
________ ____ _____ ______ __________ _______ __________ ________.
_____ _________ ______ _____ ____ ____ ___ _____.
_____ ____ ____ _________ _____ _________ __________ ______ ___ _________ _____.
__________ ______ _______ ________ ________ _______.
____ ___ _______ ______ _________ ________ __________ ______ ________ _________ ____ ______.
___ __________ ____ ______ ___ __________.
__________ _______ _________ __________ _______.
_________ _______ __________ ______ _______ _____.
______ _____ ________ ___ ______ _________ ____ ____.
________ _______ ___ _____ ________ _________ _____ ___ _________ ____.
_______ _____ ____ ____ _________ _________ ________ ___ _______ ______ _______ _____.
________ _____ ________ ____ ______ ____ ______ _____.
_____ ____ ________ ________ __________ _________ ________ ______ _________ ________.
_________ ______ ____ ________ _____ _______ ______ ___.
_____ _______ ______ ______ _______ ____ _________ ______ ____ __________ __________ ____.
_____ _________ ________ ___ _________ _______ _________ _____ ______ __________ _________ ________.
______ _______ _________ _______ ________ ___ ___ ______.
______ _________ __________ ________ _________.
_______ _________ _________ ___ _________ ___ ___ ________.
__________ _____ _________ ___ _______ ______ ________ _______ ____ ______ _________ _______.
_________ _________ _______ ___ ______ _____ __________.
____ ____ _____ __________ _____ ________ ______ _______ ______ __________ ______ _________.
__________ _______ ___ ________ ________ _______ _______.
___ _____ ______ ___ ______.
________ ____ _______ ___ _____ ____.
_________ _______ _______ _______ ______ _________ _____.
__________ ______ _____ ______ _________.
______ __________ ____ ______ _____ ________.
_______ ________ _______ ______ _____ ________ ___ _______.
_________ _________ ___ ___ ___ ____ _______ _____ ____ _____.
_____ ___ _______ ________ ________ ____ _______ _______ _______ _________.
_____ ______ ________ ______ _______ _______ ______ ______.
__________ ______ _____ _______ ______ _____ _________ __________ _________ ________ ____.
___ __________ _____ ______ _________ ________ _____ _________ _______ _________.
__________ ____ _______ ______ ____ ___ _________ ____ ___ _____ ______.
______ ______ _________ ______ __________ ___.
________ ________ ________ ______ ________ _________ ________ ________ ___.
___ ______ ___ ____ _________ _____ ________ __________ _________ __________ _____ ____.
_____ __________ ____ ______ ______ ___ _______ _____ _______.
______ ______ _______ ________ ______ _______ ______ ________.
_____ ___ ___ ___ ________ ______ _____ _______ ____.
______ ________ ______ _____ ______ ___ ______.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★