You are viewing a single comment's thread. Return to all comments →
int main() { int num; std::cin>>num; int arr[num]; for(int i=0;i<num;i++){cin>>arr[i];} for(int i=num;i--;){cout<<arr[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 →