C_Programming_Case_Study_Arrays
C_Programming_Case_Study_Arrays
Objective
Develop a C program using arrays to:
- Store marks for n students across m subjects
- Calculate total and average marks per student
- Assign a grade (A/B/C/Fail) based on the average
- Display a ranked list of students by performance
System Requirements
- Use 2D arrays to store marks
- Use 1D arrays to store total and average
- Basic functions for input, processing, and output
- Loop structures (for, while) for iteration
Functional Requirements
1. Input student names and marks for each subject
2. Display total and average marks
3. Assign grades:
- A: 80 and above
- B: 60–79
- C: 40–59
- Fail: below 40
4. Sort students in descending order of average marks
Learning Outcomes
- Understanding of multidimensional arrays
- Implementation of functions and modularity
- Use of loops, conditions, and logical operators
- Hands-on practice in solving real-world problems using C