Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
using namespace std; int main() { // Create a set called numbers that will store integers set
numbers = {1, 7, 3, 2, 5, 9}; // Print set elements for (int num : numbers) { cout << num << "\n"; } return 0; }
1
2
3
5
7
9