online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
c = int(input('Как выбор пути решения влияет на результат: ')) if c == 2 : print ('1/3+1/8+1/15+1/24+...+1/((n+1)^2-1)') elif c == 3 : print ('(1+1/3)(1+1/8)(1+1/15)...(1+1/(n(n+2))') elif c == 4 : print ('1/3+1/15+1/35+...+1/((2n-1)(2n+1))') elif c == 5 : print ('(1-1/4)(1-1/9)(1-1/16)...(1-1/(n^2))') elif c == 6 : print ('1-1/3-1/15-1/35-...-1/((2n-1)(2n+1))') elif c == 7 : print ('1+2/2+3/4+4/8+5/16+///+n/(2^(n-1))') elif c == 8 : print ('1+1/2+1/4+1/8+...+1/(2^n)') elif c == 9 : print ('1-1/3+1/9-1/27+...+(-1/3)^n') elif c == 10 : print ('1-1/2-1/4-1/8-...-1/(2^n))') elif c == 11 : print ('1-1/3-1/8-1/15-...-1/((n+1)^2-1)') elif c == 12 : print ('1+1/3+1/9+1/27+...+1/(3^n)') elif c == 13 : print ('3/4+5/36+...+(2n+1)/((n(n+1))^2)') elif c == 14 : print ('1/15+1/35+...+1/((2n+1)(2n+3))') elif c == 15 : print ('1+3/2+7/4+15/8+...+(2^n-1)/2^(n-1)') else: print ('Обратитесь к автору проекта')

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