#include <iostream>
using namespace std;
int main() {
cout << "Numeros pares entre 1 y 100:" << endl;
for (int i = 1; i <= 100; i++) {
if (i % 2 == 0) {
cout << i << " ";
}
}
cout << endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: