#include <iostream>
using namespace std;
int main(){
int x,y,i;
cout << "Introduceti x,y : ";
cin >> x >> y;
int multiple4 = 0;
for (i=x;i<=y;i++){
if (i%4==0) multiple4++;
}
cout << "Multiple : " << multiple4;
}
Un numar e multiplu de patru daca restul impartirii lui la 4 e 0.