Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- string names[10];
- for(int i = 0; i < 10; ++i)
- {
- cout << "Please enter the name of the client no " << i + 1 << endl;
- cin >> names[i];
- }
- cout << endl << "The names of all our clients: ";
- for(int i = 0; i < 10; ++i)
- cout << names[i] << ", ";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement