gabriel-rusu / calculator

A simple Calculator app made for fun that can calculate expressions using my version of the Shunting-yard algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project logo

Calculator

A simple Java Calculator made for fun that can calculate expressions using my version of Shunting-yard algorithm.

πŸ“ Table of Contents

🧐 About

This project is an implementation of the popular Calculator app with a GUI that resembles the iPhone design and colours and currently supports basic operations and nested expression calculus that contains the following operations:

  • addition
  • difference
  • multiplication
  • division

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To check if you already have the requirements run the following command(cmd/linux terminal):

  • for Java: java --version
  • for Maven: mvn --version

If you don't have the requirements above mentioned you should follow the following links to install them:

Installing

To run the app you should follow the next steps, after installing the requirements. In the root folder of the project type:

mvn install

If the above command succeeds you should have a new folder called target. After this to run the app you should type:

mvn exec:java

πŸ”§ Running the tests

To run the unit-tests on your local computer type the following command: mvn test

🎈 Usage

After running the mvn exec:java command you should be ready to use the Calculator app developed in this project.

⛏️ Built Using

✍️ Authors

About

A simple Calculator app made for fun that can calculate expressions using my version of the Shunting-yard algorithm

License:MIT License


Languages

Language:Java 100.0%