Ibodullayev Davron
3-variant
3.Navbatni juft o‘rinda turgan elementlari o‘chirilsin.
#include
using namespace std;
int main(){
srand(time(NULL));
int n;cin>>n;
int A[n];
for(int i=0;i
A[i]=rand()%10;
for(int i=0;i
if(A[i]==A[n])
cout<<" "<<"\t";else cout<
}cout<<" O'chirilgan son:"<
}
Do'stlaringiz bilan baham: |