#include <iostream>
using namespace std;
int main()
{
int x,sayacC=0,sayacT=0;
for(int i=1;i<=5;i++)
{
cout<<"sayi girin: ";
cin >>x;
if(x%2==0)
{
sayacC+=1;
}
else
{
sayacT+=1;
}
}
cout<< sayacC <<"tane cift sayi" << sayacT<<"tane tek sayi var";
}
0 Yorumlar