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 in = new Scanner(System.in); System.out.print(" Введите год "); int a = in.nextInt(); teg1(a); } static void teg1(int a) { System.out.println("\nЗадание 7."); if (!(a % 4 == 0) || ((a % 100 == 0) && !(a % 400 == 0))) System.out.println(a + " г. не високосный"); else System.out.println(a + " г. високосный"); } }

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