online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
# Python program to convert days into years, weeks and days print("\nEnter the days::") d, y, w = int(input()), None, None # d = days # y = years # w = weeks # Conversion of days in to years, weeks and days y = (int)(d / 365) w = (int)((d % 365) / 7) d = (int)(d - ((y * 365) + (w))) # Output print(y, " Year, ", w, " Weeks, and ", d, " Days\n")

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