- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
{
int numbers[6] = {1, 2, 3, 7, 9, 11, 21};
cout << "The numbers are: ";
for (const int &n : numbers) {
cout << n << " ";
}
cout << "\nThe numbers are: ";
for (int i = 0; i < 6; ++i) {
cout << numbers[i] << " ";
}
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page