#include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
int main() {
int a[100], b, c = 0, d = 0;
srand(time(0));
for(b=0; b<100; b++)
a[b] = rand()%100;
for(b=0; b<100; b++) {
if(a[b]%2==0)
c++;
else
d++;
}
cout << "Dizide " << c << " adet çift sayı ve " << d << " adet tek sayı vardır." << endl;
return 0;
}