online compiler and debugger for c/c++

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