online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#Python program to check if year is a leap year or not #year = 100 #To get year (integer input) from the user year = int(input("Enter a year: ")) if (year / 4) == 0: if (year / 100) == 0: if (year / 400) == 0: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year)) else: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year))

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