#include
#include
#include
using namespace std;
int main()
{
int chet=0;
mas[16];
int i;
srand(time(NULL));
for(i=0; i<16; i++)</span>
mas[i]=rand()%41+(-20);
for(i=0; i<16; i++)<br>{
if(mas[i]%2==0)
{
cout << i+1 <<' ';</span>
}
if(mas[i]<0)</span>
chet++;
}
cout << '\n' << chet << '\n';</span>
system("pause>>null");
return 0;
}