online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C Compiler. Code, Compile, Run and Debug C program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> int bignum(int a, int b, int c) { if (a > b) b = a; else if (b > a) a = b; else if (c > a) a = c; else if (a > c) c = a; else if (c > b) b = c; else if (b > c) c = b; return a; } int smallnum(int d, int e, int f) { if (d > e) d = e; else if (e > d) e = d; else if (f > d) f = d; else if (d > f) d = f; else if (f > e) f = e; else if (e > f) e = f; return d; } int main (void) { int a, b, c, d, e, f, g, h; printf("가장 큰 수를 반환"); scanf("%d,%d,%d", &a,&b,&c); g=bignum(a, b, c); printf("%d\r\n", g); printf("가장 작은 수를 반환"); scanf("%d,%d,%d", &d, &e, &f); h=smallnum(d, e, f); printf("%d\r\n", h); 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