especially for Ainura

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include <iostream>
using namespace std;
int main(){
int a, b;
cin>>a>>b;
for(int i = a; i <= b; i++){
if (i % 2 == 0) cout<< i <<" ";
}
return 0;
}