A simple C program that calculates fines based on the number of late days.
| ✅ | Feature | Description |
|---|---|---|
| ✅ | Fine Calculation | Calculates total fine based on days of delay |
| ✅ | Interactive CLI | User-friendly command-line interface |
| ✅ | Modular Functions | Cleanly structured with separate logic functions |
| ✅ | Lightweight | Written in pure C, runs on any system with GCC |
- Conditional statements (
if,else if,else) - Function modularity and code reusability
- User input handling with
scanf() - Basic arithmetic and formatted output
- Looping with
do-whilefor repeated operations
FineCalc/
│
├── main.c # Core program logic & user interface
├── fine.c # Fine calculation implementation
├── fine.h # Function declarations
├── README.md # Project documentation
└── LICENSE # Your chosen license (e.g., MIT)
Make sure you have:
- GCC Compiler installed
- Terminal or Command Prompt ready
# Clone the repository
git clone https://github.com/your-username/FineCalc.git
# Navigate to project directory
cd FineCalc