online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/*Lección 10 Tema: 13 Ciclo FOR 4. Que muestre los números pares que haya del 1 al 100.*/ #include <iostream> using namespace std; int main() { setlocale (LC_CTYPE, "Spanish"); cout << "Los números pares del 1 al 100 son:\n\n"; for (int numero = 2; numero <= 100; numero++) { cout << numero << ". "; numero +=1; } 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