online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> using namespace std; int main() { int calkowita[6]; for (int i=0; i<6; i++) { cout << "Podaj liczbe [" << i+1 << "]:"; cin >> calkowita[i]; } bool is_calkowita = true; for (int i=0; i<6; i++) { if(calkowita[i]%2 !=0) { is_calkowita = false; break; // wyjście tylko z pętli for } } // dalsza część kodu cout << ((is_calkowita) ? "true" : "false") << endl; 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