Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Arrays
- #include <iostream>
- using namespace std;
- int main()
- {
- int myArray[5] = { 100, 200, 300, 400, 500 };
- cout << myArray[0] << endl;
- cout << myArray[1] << endl;
- cout << myArray[2] << endl;
- cout << myArray[3] << endl;
- cout << myArray[4] << endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement