This is a console-based C++ program that generates a complete student marksheet. It takes student details, calculates percentage, and suggests departments based on performance and selected major.
-
๐ค Input student details (Name, Roll No, Major)
-
๐ Different subjects based on major:
- Pre-Engineering
- Pre-Medical
- Commerce
-
๐งฎ Calculate total marks and percentage
-
๐ Suggest departments based on percentage
-
๐จ๏ธ Print full formatted marksheet
-
โ ๏ธ Input validation for marks
-
User enters personal information
-
Selects major (E / M / C)
-
Inputs marks of subjects
-
Program calculates:
- Total marks
- Percentage
-
Based on result โ departments are suggested
-
User can print full marksheet
- High percentage โ more department options
- Medium percentage โ limited options
- Low percentage โ not eligible
g++ marksheet.cpp -o marksheet
./marksheet- Open in Dev C++ / CodeBlocks / VS Code
- Compile and run
- C++
- Standard Library (
iostream,iomanip,cstdlib)
- Arrays
- Conditional statements (if/else, switch)
- Loops
- Functions
- Input validation
- Formatting output (
iomanip)
marksheet.cppโ Main source code
- Add grading system (A, B, C)
- Save marksheet to file
- Improve UI design
- Remove
goto(use loops instead)
Faraz Hussain
โญ Learning step by step towards becoming a Software Engineer