711-20 GURUH TALABASI MIRZABAYEV AZIZBEKNING
DASTURLASH 1 FANIDAN BAJARGAN
5-LABARATORIYA ISHI
KOD QISMI:
#include
#include
using namespace std;
int main()
{
int n;
cout<< " Massiv elementlari sonini kiriting: ";
cin>>n;
int a[n];
for(int i=0; i
cin>>a[i];
}
for(int i=n-1; i>=0; i-=2){
cout<< pow(a[i],3)<<" ";
}
return 0;
}
Do'stlaringiz bilan baham: |