#include "iostream"
#include "string"
using namespace std;
int main()
{
string name;
cout << "Enter your name: ";
cin >> name;
int count;
cout << "Enter a count for chycle: ";
cin >> count;
for (int i = 0; i < count; i++) cout << name << endl;
system("pause");
return 0;
}
If you need something else, let me know
Comments
Leave a comment