You are viewing a single comment's thread. Return to all comments →
#include <iostream> using namespace std; int main() { int size; int min; cin >> size; int *myArray = new int[size]; for (int j = 0; j < size; j++) { cin >> myArray[j]; } for (int i = size - 1; i >= 0; i--) { cout << myArray[i] << " "; } return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →