online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main () { int x, y, z; printf ("Enter three number \n"); scanf ("%d %d %d", &x, &y, &z); if (x>y) // first condition {// The code of this block will run when the first condition is true if (x>z) // second condition printf ("Greater value is: %d", x); else printf ("Greater value is: %d", z); } else { // If the first condition is False, then the code of this block will run. if (y>z) printf ("Greater value is: %d", y); else printf ("Greater value is: %d", z); } return 0; }

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