All Questions
16 questions
3
votes
1
answer
556
views
Calculator (Java/Beginner)
I finished my first calculator using Java!
I try to apply Object-Oriented Programming!
I'll add my gitHub link if you're suited to viewing code on gitHub.
Here is a link to my GitHub Calculator ...
1
vote
1
answer
106
views
A calculator with support for large integers and variables
I'm quite new to both Java and OOP.
I'm assuming that pretty much everything about my code can be improved and I appreciate any feedback. However, I am particularly interested in what you think ...
4
votes
2
answers
114
views
JavaRPN (Updated)
I have previously worked on this program in this question, and have gotten some very good answers and help! Now, I have done some more work on the program, and would love if you could give me honest ...
13
votes
1
answer
5k
views
Object-oriented calculator
I have solved an assignment (Exercise 3) from the MOOC Object-Oriented programming with Java, part II, but I'm not enrolled in said course.
Assignment Summary:
Make a simple calculator. You ...
-1
votes
3
answers
407
views
A Java Calculator that could perform basic Mathematical Operations [closed]
I've been working for few days to develop a basic Java Swing Calculator that could Add, Subtract, Multiply or Divide two numbers and also has other options like inverse(1/x) and square root
I would ...
5
votes
1
answer
3k
views
Simple Java OOP calculator with GUI
I'm learning Java and I've tried to write my own calculator with GUi based on this post. Here is the repo: https://github.com/MurDaD/java-calculator
Could someone check my code and tell me how to ...
4
votes
1
answer
5k
views
A tax calculator application to calculate tax and print final receipt
Although this question has been asked a lot of times, I was hoping for a feedback on my approach.
Tax Calculator Basic sales tax is applicable at a rate of 10% on all
goods, except books, food, ...
6
votes
2
answers
9k
views
String input Calculator
The following program implements a calculator that takes string inputs in the form of two values separated by an operator. It splits the inputs in to their parts, and then applies the operation, and ...
4
votes
2
answers
2k
views
Swing application to compute the area and perimeter of shapes
I am a beginner programmer. How would you refactor this code to abide by good coding practices? As it stands the program has 4 classes and its aim is to compute the area and perimeter of a specific ...
6
votes
5
answers
18k
views
Simple object oriented console calculator
I'd like to learn OOP. Could someone check my code and tell me how to improve it?
...
3
votes
2
answers
7k
views
Shape area computer
I've builded a 2D-shape area calculator. Currently it can only calculate:
Circle
Rectangle
Triangle
Originally I was thinking how to encapsulate the parameter(s) into a class, Parameters, so that I ...
2
votes
2
answers
2k
views
Cost calculator for room bookings, based on file or user input
The application I would like help with is a booking calculation tool that runs a few simple calculations in order to work out the cost of someone's stay.
It currently contains only two java files, ...
3
votes
1
answer
1k
views
Calculator with history using Java 8
Yesterday, I saw this post from another user: Calculator with history
I started refactoring the code while typing an answer but I end up not posting as an answer because I not sure if my ...
3
votes
1
answer
3k
views
Simple Calculator in Java and Swing
I'm new at this and I'm almost done with learning basic Java. I made this just to see if I could do it. I just want to know if there's anything I can do to make it better.
...
2
votes
1
answer
509
views
Number representation for a calculator that works with very big numbers
I'm a beginner: I have learned concepts and features which I think I need in my project, but this is my first serious program and it is my internship project. I'm totally confused and need help to ...