online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
public class Main { public static void main(String[] args) { System.out.println("Кофемашина — Екатерина Родионова"); int moneyAmount = 120; System.out.println("Вы внесли " + moneyAmount + " руб."); int cappucinoPrice = 200; int espressoPrice = 100; int waterPrice = 50; int milkPrice = 69; boolean canBuyAnything = false; if (moneyAmount >= cappucinoPrice) { System.out.println("Вы можете купить капучино"); canBuyAnything = true; } if (moneyAmount >= espressoPrice) { System.out.println("Вы можете купить эспрессо"); canBuyAnything = true; } if (moneyAmount >= milkPrice) { System.out.println("Вы можете купить молоко"); canBuyAnything = true; } if (moneyAmount >= waterPrice) { System.out.println("Вы можете купить воду"); canBuyAnything = true; } if (canBuyAnything == false) { System.out.println("Недостаточно средств :( Изучайте Java и зарабатывайте много!))"); } } }

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