#include
#include
#include
using namespace std;
int main() {
int n=10,k=0;
int a[n];
srand(time(NULL));
cout<<"array:"<<endl;<br> for (int i=0; i {
a[i]=rand() % 50;
cout<<a[i]<<" ";<br> }
cout<<endl;<br> for (int i=0; i if (a[i]%2==0 && a[i]!=0) {
cout<<a[i]<<" ";<br> k++;
}
cout<<endl;<br> if (k>n-k) cout<<"четных больше";<br> else if (k else cout<<"равное количество";<br> cout<<endl;<br>
system("pause");
return(0);
}