online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
public class Main { public static void main(String[] args) { int x = 19; int y = 42; Arithmetic a = new Arithmetic(x, y); System.out.println("сумма чисСл " + x + " ΠΈ " + y + " -> " + a.sum()); System.out.println("ΠΏΡ€ΠΎΠΈΠ·Π²Π΅Π΄Π΅Π½ΠΈΠ΅ чисСл " + x + " ΠΈ " + y + " -> " + a.product()); System.out.println("максимальноС ΠΈΠ· чисСл " + x + " ΠΈ " + y + " -> " + a.max()); System.out.println("минимальноС ΠΈΠ· чисСл " + x + " ΠΈ " + y + " -> " + a.min()); } }
public class Arithmetic { private int x; private int y; public Arithmetic(int x, int y) { this.x = x; this.y = y; } public int sum() { return this.x + this.y; } public int product() { return this.x * this.y; } public int max() { return this.x > this.y ? this.x : this.y; } public int min() { return this.x < this.y ? this.x : this.y; } }

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