online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/*EJERCICIO PROPUESTO #4-CICLO FOR 4.- muestre los números pares que haya del 1 al 100. */ #include<iostream> using namespace std; int main(){ cout<<"********************************************************"<<endl; cout<<"* 4.- Muestre los numeros pares que haya del 1 al 100. *"<<endl; cout<<"********************************************************"<<endl<<endl; for(int i=1; i<=100; i++){ if(i%2==0){//Si el residuo da 0, entonces este numero es PAR y se mostrara cout<<"# "<<i<< " "; } } cout<<endl<<"*******************************************************"<<endl; cout<<"> > > > > > > > Hecho por Victor Galarza < < < < < < < <"<<endl; cout<<"*******************************************************"<<endl<<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