About 36,500 results
Open links in new tab
  1. Basic calculator in Java - Stack Overflow

    I'm trying to create a basic calculator in Java. I'm quite new to programming so I'm trying to get used to it. import java.util.Scanner; import javax.swing.JOptionPane; public class javaCalculat...

  2. Simple calculator program in Java - Stack Overflow

    Feb 4, 2016 · 1 I am a newbie coder in Java and I am trying to make this calculator in java where a user can enter two numbers and select the operation to be done on those numbers. However when the …

  3. Basic Java calculator using functions (beginner) - Stack Overflow

    May 7, 2017 · Hey guys i'm a beginner at java still learning. I have a question about functions. So I am creating just for fun a basic calculator package calculator; import java.util.Scanner; public class Calc...

  4. Java calculator with multiple operations - Stack Overflow

    Java calculator with multiple operations Asked 13 years, 1 month ago Modified 3 years, 5 months ago Viewed 41k times

  5. Java String Calculator - Stack Overflow

    Apr 20, 2015 · I'm trying to make a simple calculator in Java which takes input in the form of a string and does a simple '+' and '-' operation. Single digit inputs work but my problem is when i try to implement...

  6. BMI calculator in Java - Stack Overflow

    I am new to Java and still trying to learn my way around it. Today my teacher gave an assignment where we make a BMI calculator in Java. One of the steps is to make it show the BMI categories. So the

  7. Change Calculator Using Java - Stack Overflow

    Apr 9, 2019 · I need to create a program that can calculate change in the most efficient way possible. Ex. 3 Quarters instead of 75 pennies. It is only single dollar bills, quarters, dimes, etc. However, …

  8. Implement a simple calculator GUI using Swing controls

    I want to make a simple calculator using Swing components with only one JTextField. In the actionPerformed method where ActionEvents will be implemented, I want to know: what logic is …

  9. How do I calculate someone's age in Java? - Stack Overflow

    Jul 12, 2009 · For example, note how your code is using the new java.time framework while most of the other answers are using java.util.Date and Joda-Time. [B] Please contrast your Answer with the …

  10. java - BlueJ Calculator - Stack Overflow

    I need to create a calculator that can add, subtract, multiply, divide, absolute value, and round. This is what I have so far import java.util.Scanner; public class Calculator { public static ...