Skip to content

SimantaSarma/student_report_card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ Rust CLI Report Card Generator

This is a simple Rust-based command-line application that:

  • Accepts a student's name, number of subjects, and marks
  • Calculates the average marks and assigns a grade based on the following criteria:
    • A: 90 and above
    • B: 75–89
    • C: 60–74
    • D: Below 60
  • Generates a professional PDF report card

🧰 Built With

  • Rust
  • printpdf – for generating the PDF
  • Standard input/output for CLI interactions

βš™οΈ Setup Instructions

1. Clone the Repository

git clone https://github.com/<your-username>/student_report_card.git
cd student_report_card

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

cargo run


student_report_card/
β”œβ”€β”€ src/
β”‚   └── main.rs
β”œβ”€β”€ Cargo.toml
└── report_card.pdf (after generation)


git add .
git commit -m "πŸŽ“ Rust CLI report card app with PDF export"
git push origin main



https://github.com/<your-username>/student_report_card

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages