online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> main () { int sun1, sun2, staAN, staAF, Stand_By; do { printf("eisagete ton stathmo anaxwrhshs: \n"); scanf("%d", &staAN); sun1=2; while (sun1==2) { if (staAN == 1) { sun1=11; } else if (staAN==2) { sun1=12; } else if (staAN==3) { sun1=13; } else if (staAN==4) { sun1=14; } else { sun1=2; } } printf ("\n %d \n\n\n", sun1); //.......................................... printf("eisagete ton stathmo afikshs: \n"); scanf("%d", &staAF); sun2=2; while (sun2==2) { if (staAF==1) { sun2=11; } else if(staAF==2) { sun2=12; } else if(staAF==3) { sun2=13; } else if(staAF==4) { sun2=14; } else { sun2=2;} printf ("\n %d \n\n\n", sun2); } }while (1); scanf ("%d", &Stand_By); 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