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. */ print("Кофемашина") var moneyAmount = 120 var cappucinoPrice = 200 var espressoPrice = 100 var waterPrice = 50 var teaPrice = 150 if moneyAmount >= cappucinoPrice { print("Вы можете купить капучино") } if moneyAmount >= espressoPrice { print("Вы можете купить эспрессо") } if moneyAmount >= waterPrice { print("Вы можете купить воду") } if moneyAmount >= waterPrice { 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.