This is a simple terminal-based C program designed to generate an intermediate (Class 11–12) marksheet for students based on their stream. It only uses basic C constructs (printf
, scanf
, if-else
, and strcmp
) and demonstrates how conditional logic can handle multiple user scenarios cleanly.
- Accepts input for:
- Student’s full name, hall ticket number, parent names.
- Stream of study:
MPC
,BiPC
,CEC
,HEC
, or other. - Subject-wise marks for both First Year and Second Year.
- Practical marks (if applicable).
- Calculates:
- Year-wise total marks.
- Practical total (if applicable).
- Overall percentage.
- Grade (A/B/C/D based on percentage).
- Outputs a formatted mark sheet with aligned subject scores.
- MPC: Math, Physics, Chemistry
- BiPC: Botany, Zoology, Physics, Chemistry
- CEC: Civics, Economics, Commerce
- HEC: History, Economics, Commerce
- MEC: Math, Economics, Commerce
- Language: C
- Compiler: Works with any standard C compiler (tested on GCC, Dev-C++, Turbo C++)
- Platform: Designed for Windows (uses
system("cls")
to clear the screen)
Silven Mohan
- Compile the code:
gcc Marksheet_Maker.c -o Marksheet_Maker.exe
- Run the program:
./marksheet.exe
See included LICENSE file for more details.
-Added Pass/Fail Status based on cutoff marks for different subjects in different streams.