#include
#include
#include
#include
using namespace std;
int main(int argc, char** argv) {
int n,k,j=0;
srand(time(NULL));
cout<<"n = "; cin>>n;
cout<<"k="; cin>>k; cout<<endl;<br> int a[n];
for (int i=0; i
{ a[i]=rand()/300; cout<<setw(5)<<a[i];<br> if (a[i]
}
if (j>0) cout<<endl<<"ind = "<<j;<br> else cout<<endl<<"no elements";<br> return(0);
}