sofiiiaaapiust

Untitled

Mar 20th, 2023
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. using std::cout;
  6.  
  7. int myArray[5] = { 1, 3, 5, 7, 9};
  8.  
  9. cout << "The third element of the array is " << myArray[2];
  10.  
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment