Skip to content

ᴄᴏᴍᴍᴀɴᴅ ʟɪɴᴇ ꜰɪɴᴇ ᴄᴀʟᴄᴜʟᴀᴛᴏʀ ᴡʀɪᴛᴛᴇɴ ɪɴ ᴡɪᴛʜ ᴅᴀʏ ʙᴀꜱᴇᴅ ʟᴏɢɪᴄ

License

Notifications You must be signed in to change notification settings

roshhellwett/Finebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 FineCalc

License Platform Status Contributions GitHub stars

A simple C program that calculates fines based on the number of late days.


🚀 Features

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

🧠 Concepts Demonstrated

  • Conditional statements (if, else if, else)
  • Function modularity and code reusability
  • User input handling with scanf()
  • Basic arithmetic and formatted output
  • Looping with do-while for repeated operations

📂 Project Structure

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)

⚙️ Getting Started

Prerequisites

Make sure you have:

  • GCC Compiler installed
  • Terminal or Command Prompt ready

Installation

# Clone the repository
git clone https://github.com/your-username/FineCalc.git

# Navigate to project directory
cd FineCalc

About

ᴄᴏᴍᴍᴀɴᴅ ʟɪɴᴇ ꜰɪɴᴇ ᴄᴀʟᴄᴜʟᴀᴛᴏʀ ᴡʀɪᴛᴛᴇɴ ɪɴ ᴡɪᴛʜ ᴅᴀʏ ʙᴀꜱᴇᴅ ʟᴏɢɪᴄ

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published