online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
original_cost = 2000 cost = original_cost rate=10 for year in range(1, 1000): value = cost * rate /100 aptcost = cost - value if aptcost <= 1000: break # break here print("Year "f'{year:<4} {aptcost :25.2f}') cost = aptcost

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