c++
#include
void search (int
{
int counter = 0;
for (int i=0; i
if (mass i == 1)
counter++;
std: : cout<
}
void main()
int b[20];
for (int i = 0; i
b[i] = rand % 5;
search(b);
c++
#include
void search (int
{
int counter = 0;
for (int i=0; i
if (mass i == 1)
counter++;
std: : cout<
}
void main()
{
int b[20];
for (int i = 0; i
b[i] = rand % 5;
search(b);
}