greetings,

i am to write a definition and statement to construct a given array.

1. an array whose indices are the integers from 0 thru 99 and in which the value stored in each array element is the same as the indices in reverse order.

Is my answer wrong???



code:--------------------------------------------------------------------------------
int array[100];
for(int i = 0; i < 100; i--)
array[i] = [i];
--------------------------------------------------------------------------------