#include <stdio.h> int main() { int n; for(n=1;n<=100;n++) while(n%2==0) { printf("%d\n",n); n++; } return 0; }
#include <iostream> using namespace std; int main() { for(int i = 2; i <= 100; i += 2) cout << i << endl; return 0; }