Add a description, image, and links to the java-calculator-beginner-project-console-app topic page so that developers can more easily learn about it.
public class Calculator { public static void main(String[] args) { Scanner input = new Scanner(System.in); double num1 = 0, num2 = 0, result; char operator; try ...