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, 7, 3, 5, 9, 2}; copy(numbers.begin(), numbers.begin() + 3, numbers.begin() + 3); for (int number : numbers) { cout << number << " "; } return 0; }
1 7 3 1 7 3