Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
#include
using namespace std; int main() { vector
numbers = {1, 3, 5, 7, 2, 9}; reverse(numbers.begin(), numbers.end()); for (int number : numbers) { cout << number << " "; } return 0; }
9 2 7 5 3 1