this is so easy i can't do it

This is embarrassing but how do i make a phrase like I'm happy for example repeat x number of times? I guess spring break ruined my brain. this is my first semester with c++.
use a for loop like this
1
2
3
4
5
6
7
8
9
for(int Counter = 0; NumOfTimes >= Counter && 0 <= NumOfTimes; Counter++ )
                  {
                         
                          
                          
                          cout << String << endl;
                          
                          
                  }
thnx
Topic archived. No new replies allowed.