This is what I have, but I need to make a for loop instead of the initialize steep. PLEASE HELP
int main ()
{
int numb[10];//1,2,4,8,16,32,64,128,256,512
int numb2[10];
int counter, counter2;
/*
numb[0]=1,numb[1]=2,numb[2]=4,numb[3]=8,numb[4]=16,numb[5]=32;
numb[6]=64,numb[7]=128,numb[8]=256,numb[9]=512;
numb2[0]=0,numb2[1]=1,numb2[2]=5,numb2[3]=3,numb2[4]=10,numb2[5]=5;
numb2[6]=15,numb2[7]=7,numb2[8]=20,numb2[9]=9;
*/
for (int z=0; z<10; z++)
cout<<numb[z]<<" ";
cout<<endl<<endl;
for (int x=0; x<10; x++)
cout<<numb2[x]<<" ";
cout<<endl<<endl;
return 0;
}