Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include <iostream> #include <vector> using namespace std; int main() { vector<string> cars = {"Volvo", "BMW", "Ford", "Mazda"}; cars.pop_back(); for (string car : cars) { cout << car << "\n"; } return 0; }
Volvo
BMW
Ford