online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import java.util.LinkedList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); LinkedList<Integer> lista = new LinkedList<>(); int liczba; System.out.println("Podaj liczbę, 0 = koniec:"); do { liczba = scan.nextInt(); if (liczba != 0) lista.add(liczba); } while (liczba != 0); for (int element : lista) System.out.println("liczby to " + element); } }

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