Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Expense Tracker CLI

A simple command-line Java application that helps you record expenses, view them, and see a quick summary.

Features

  • Add expense entries with description, amount, and category
  • View all recorded expenses
  • See the total amount and number of entries
  • Easy to run from the terminal

How to Run

  1. Open a terminal in this folder.
  2. Compile the program:
    javac ExpenseTrackerCLI.java
  3. Run the program:
    java ExpenseTrackerCLI

Example

When the program starts, you can choose from the menu to:

  • add a new expense
  • display the saved entries
  • show the total expense summary
  • exit the app

This example is intended for beginners learning Java input/output, loops, classes, and collections.