Números impares 1 a 100
#include <iostream>
using namespace std;
int main()
{
cout << "odd numbers from 1 to 100 : ";
for (int i = 0; i <= 100; i++)
{
if (i % 2 != 0)
{
cout << i << ",";
}
}
}
Omar Elhbrouk