online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
''' Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl, C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog. Code, Compile, Run and Debug online from anywhere in world. ''' a = 0 print ('Type in 2 numbers and then choose to add, subtract or multiply them') num =int(input("Type in the first number: ")) if type(num) != int: print('This code needs a number and not a alphabet') a = 1 number = int(input("Type in the second number: ")) if type(number) != int: print('This code needs a number and not a alphabet') a = 1 chose = input('Type in a addition, subtraction or multiplication sign: ') if chose == '+': print(int(input(num + number))) elif chose == '-': print(int(input(num - number))) elif chose == '*': print (int(input(num * number))) else: print('The sign you have chosen is not one of the choices') a = 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