Advertisement
MeehoweCK

Untitled

Jul 7th, 2021
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     string adresy[5];       // tablica piÄ™cioelementowa typu string
  8.     for(int i = 0; i < 5; ++i)
  9.     {
  10.         cout << "Podaj adres e-mail osoby nr " << i + 1 << ": ";
  11.         cin >> adresy[i];
  12.     }
  13.     for(int i = 0; i < 5; ++i)
  14.     {
  15.         cout << i + 1 << ". " << adresy[i] << endl;
  16.     }
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement