Giter Club home page Giter Club logo

budget-manager's Introduction

Budget Manager

This project works as a "budget manager" for monthly purchases, where it allows the user to add their income and save the purchases that they have made. It provides the ability to save inputted purchases, to view the balance, and sort the purchases.

When the program is run, the user is greeted with a menu to:

  1. Add their income
  2. Add a purchase based on its type (available types are: Food, Entertainment, Clothes, Other)
  3. Show the list of purchases provided
  4. Show the balance (income - total price of inputted purchases)
  5. Save the purchases added to a file
  6. Load the purchases previously saved to a file into the program (allows the user to register purchases inputted and saved in a previous run of the program)
  7. Analyze the purchases by sorting them in three different ways:
    • Sort All - sorts the entire shopping list with the most expensive purchases at the top
    • Sort By Type - sorts the categories with the category that used up the most money at the top
    • Sort Certain Type - Same as Sort All, but for a specific category

General Info

To learn more about this project, please visit HyperSkill Website - Budget Manager.

This project's difficulty has been labelled as Hard where this is how HyperSkill describes each of its four available difficulty levels:

  • Easy Projects - if you're just starting
  • Medium Projects - to build upon the basics
  • Hard Projects - to practice all the basic concepts and learn new ones
  • Challenging Projects - to perfect your knowledge with challenging tasks

This repository contains

budget package
    - Contains the budget.Main java class that contains the main method to run the project
    - Contains the budget.Menu java class that is used to store the purchases provided by the user
    - Contains the budget.PurchaseType abstract java class and its subclasses that store the purchases provided by the user by type
    - Contains the budget.GetUserInput java class that contains utility methods used to get correct user input

purchases.txt file: A sample text file that can be loaded to see an example of code output and usage

Project was built using java version 8 update 381

How to Run

Download the budget repository to your machine. Create a new project in IntelliJ IDEA, then move the purchases.txt file to it and the downloaded budget repository to the src folder, then run the budget.Main java class.

budget-manager's People

Contributors

nour-sadek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.