123456789
for(int Counter = 0; NumOfTimes >= Counter && 0 <= NumOfTimes; Counter++ ) { cout << String << endl; }