You can put the while loop in the main function, where you're prompting the user for a value and then outputting the result. Do you know how to use a while loop? Since you said you are new to programming, I don't want to automatically assume that you know. Here's an example:
CODE
int i = 0;
while(i < 5)
{
cout<<i<<endl;
i++;
}
In this example I print out numbers 0 through 4. Notice that I updated i in the while loop; if you forget that you'll have an infinite loop.
I could have achieved the same thing with a for loop:
CODE
for(int i = 0; i<5; i++)
{
cout<<i<<endl;
}
Either type of loop should work in your case.
Oh and its cool that you're a wrestler

I have the utmost respect for what wrestlers do and how they put their bodies on the line to entertain fans