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. rank award 1 1000,00 2 500,000 3 250,000 any other 0 *******************************************************************************/ #include <stdio.h> int main() { int r; printf("enter the rank"); scanf("%d",&r); if(r==1||r==2||r==3) { if(r==1) printf("will get 1000,00 "); if(r==2) printf("will get 500,000"); if(r==3) printf("will get 250,000"); } else printf("will get 0"); 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