Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- int years[] = { 1986,1988,2001,2004};
- for (int i = 0; i < (sizeof(years) / sizeof(years[0])); i++)
- {
- cout << years[i] << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement