online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import java.util.Scanner; public class JavaApplication { public static void main(String[] args) { Scanner reader = new Scanner(System.in); int guess ,rand; rand =(int) (Math.random ()*100) ; boolean stillplaying = true; while (stillplaying) { System.out.println("guess bettween 0 and 100"); guess = reader.nextInt(); if(guess>rand) System.out.println("guess is too larg"); else if (guess<rand) System.out.println("guess is too small"); else System.out.println("You Win"); stillplaying = false; } } }

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