//For loop letting user specify number of iterations #include using namespace std; int main () { int num_loops; cout << "How many times do you want to print the greeting? "; cin >> num_loops; for (int i=1; i<=num_loops; i++) { cout << i <<". Happy Birthday\n"; } cout << endl; system("pause"); return 0; }