Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
#include
using namespace std; int main() { // Create a vector called numbers that will store 6 integers vector
numbers(6); // Fill all elements in the numbers vector with the value 35 fill(numbers.begin(), numbers.end(), 35); // Print all elements in the vector for (int num : numbers) { cout << num << "\n"; } return 0; }
35
35
35
35
35
35