Fork, Commit, Merge - Medium Issue (Java) #422
Labels
first-contributor
first-contributors
good first issue
Good for newcomers
help wanted
Extra attention is needed
java
medium
Fork, Commit, Merge - Medium Issue (Java)
Create a Calculator in Java
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!
Navigate to the
tasks/java/medium
directory from the root of your project.Then open a file called
Calculator.java
and start implementing the Calculator class!Description:
Create a simple calculator class in Java that performs basic operations: addition, subtraction, multiplication, and division.
Requirements:
add
,subtract
,multiply
anddivide
.Don't modify the code in the main method! It contains bunch of tests that will run when the program is executed.
How to run:
Make sure you are in the right directory:
cd tasks/java/medium
Compile the program:
Run the compiled program:
Expected output:
If the program works as requested in the task, you are ready to make a pull request!
To work with this issue, you need to have Java installed to your local machine.
Check out README.md for more instructions of installing Java and how to make a pull request.
Feel free to ask any questions here if you have some problems!
Also, kindly give this project a star to enhance its visibility for new developers!
The text was updated successfully, but these errors were encountered: