Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- string adresy[5]; // tablica pięcioelementowa typu string
- for(int i = 0; i < 5; ++i)
- {
- cout << "Podaj adres e-mail osoby nr " << i + 1 << ": ";
- cin >> adresy[i];
- }
- for(int i = 0; i < 5; ++i)
- {
- cout << i + 1 << ". " << adresy[i] << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement