Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Smart Calculator + Expense Tracker (CLI)

A console-based Java application that combines a smart calculator with an expense tracking system. This project demonstrates the use of Java fundamentals like file handling, collections, and modular programming in a practical real-world utility application.

Features:

Calculator Functions

  • Addition
  • Subtraction
  • Multiplication
  • Division

Scientific calculations:

  • sin()
  • cos()
  • tan()

Conversions:

  • Polar To Rectangular
  • Rectangular To Polar

Expense Tracker:

  • Add expenses with categories
  • Track spending history
  • Store records using file handling
  • View total spending by category
  • Clear expense history

Data Management:

  • Persistent history storage
  • File-based record management
  • Category-wise expense summary using HashMap

Tech Stack:

  • Java
  • File Handling
  • HashMap
  • CLI (Console-Based Interface)

Project Structure:

Calculator.java
history.txt
expenses.txt

How to Run:

  1. Clone the Repository git clone
  2. Navigate to Project Folder cd smart-calculator-expense-tracker
  3. Compile the Program javac Calculator.java
  4. Run the Application java Calculator

Future Improvements:

  • GUI version using Java Swing / JavaFX
  • Database integration (MySQL/SQLite)
  • Expense analysis charts
  • Export reports as PDF/CSV
  • Authentication system

Contributing:

Contributions and suggestions are welcome.

  1. Fork the repository
  2. Create a new branch
  3. Commit your changes
  4. Open a Pull Request

About

Smart Calculator made using console-based Java with expense-tracking-system demostrating the using file handling, collections, and modular programming.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages