online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int fn,ln; System.out.println("Choose your options \n 1 for addition \n 2 for subtraction \n 3 for multiplication \n 4 for division"); int value = sc.nextInt(); switch(value) { case 1: System.out.println("You Choose Addition(+)"); System.out.println("Enter your first number"); fn=sc.nextInt(); System.out.println("Enter your second number"); ln=sc.nextInt(); int sum=fn+ln; System.out.println(fn+" + "+ln+" = "+sum); break; case 2: System.out.println("You Choose Subtraction(-)"); System.out.println("Enter your first number"); fn=sc.nextInt(); System.out.println("Enter your second number"); ln=sc.nextInt(); int sub=fn-ln; System.out.println(fn+" - "+ln+" = "+sub); break; case 3: System.out.println("You Choose Multiplication(*)"); System.out.println("Enter your first number"); fn=sc.nextInt(); System.out.println("Enter your second number"); ln=sc.nextInt(); int mul=fn*ln; System.out.println(fn+" * "+ln+" = "+mul); break; case 4: System.out.println("You Choose Division(/)"); System.out.println("Enter your first number"); fn=sc.nextInt(); System.out.println("Enter your second number"); ln=sc.nextInt(); int div=fn/ln; System.out.println(fn+" / "+ln+" = "+div); break; default: System.out.println("You entered wrong options"); } } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue