Skip to content

Conversation

@zahirazalfa
Copy link

Simple Java Calculator

This is a simple Java calculator.

calculator

How to run it?

  1. Make sure Java is in your PATH on your system. You can simply check this by opening cmd or PowerShell and type: java --version

How to add Java to PATH: https://www.java.com/en/download/help/path.html

  1. Open cmd or PowerShell and compile main.java: javac main.java

  2. Run the calculator by typing: java main.java

  3. Click on the on button.

  4. Do your calculations and enjoy.

<div align="center">
  
# Simple Java Calculator
</div>

This is a simple **Java** calculator.

<img width="250" alt="calculator" src="https://zahirazalfa:patch-1/Java-Simple-Calculator/assets/153938106/6a149d3a-d469-4965-9cfd-f9fa91e775bd">

### How to run it?

1. Make sure Java is in your PATH on your system.
You can simply check this by opening cmd or PowerShell and type: ```java --version```

How to add Java to PATH: https://www.java.com/en/download/help/path.html

2. Open cmd or PowerShell and compile main.java: ```javac main.java```

3. Run the calculator by typing: ```java main.java```
4. Click on the **on** button.
5. Do your calculations and enjoy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant