online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
''' Print a triangle out of stars ''' import math i = 1 len=int(input("Size of Triangle: ")) mid = math.ceil(len/2) while i <= len: j=1 if i <= mid: width = i else: width = len-i+1 while (j<=width): print("*",end=" ") j+=1 print() i+=1

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