printf_s("BBod Genereation kol-vo:r"); scanf_s("%d",&n); for (i=0; i<n; i++) { x[i]=rand()%10+n; printf_s(" %d",x[i]); } printf_s(" %d",y); _getch();