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) { System.out.println("Podaj ilość liczb, pośród których chcesz znaleźć największą"); int x = new Scanner(System.in).nextInt(); int max=Integer.MIN_VALUE; for (int i=1; i<=x; i++) { System.out.print("Podaj "+i+" liczbę: "); int z = new Scanner(System.in).nextInt(); if (z > max) max = z; } System.out.println("Największa podana liczba to: "+max); } }

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