//A PROGRAM TO ILLUSTRATE ARRAYS/// //USING A CONSTANT/////////////// /////////////////////////////// #include void main() { //////////////FIRST CREATE THE ARRAY //USING A CONSTANT SAVES YOU WORK const int SIZE=10; double x[SIZE]; cout<<"Enter ten numbers:\n"; //CREATE A LOOP THAT ALLOWS THE USER TO INPUT //ALL THE ELEMENTS OF THE ARRAY for(int i=1; i<=SIZE; i++) { cout<>x[i-1]; } cout<<"Here they are in reverse order:\n "; //THIS LOOP PLAYS THEM BACK for(i=SIZE-1; i>=0; i--) { cout<<"\tx["<