online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main() { while(1) { int month = 0; printf("Podaj numer miesiaca: "); scanf("%d", &month); switch (month) { case 12: case 1: case 2: printf("Zima"); break; case 3: case 4: case 5: printf("Wiosna"); break; case 6: case 7: case 8: printf("Lato"); break; case 9: case 10: case 11: printf("Jesien"); break; default: printf("Nieprawidlowy numer miesiaca"); } int one_more_time = 2; printf("\n\nPonowic? [1] - tak, [2] - nie: "); scanf("%d", &one_more_time); if (one_more_time == 2) break; } 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