The input is skipped over. This is such a simple program but I cant figure out why it would skip this.
#include <iostream>
#include <string>
using namespace std;
int main()
{
    int repeat;
    string message;
    cout<<"Computer Punishment"<<endl;
    cout<<"-----------------------"<<endl;
    cout<<"Repititions? ";
    cin>>repeat;
    cout<<"Message? ";
    getline(cin, message);
    for(int i=0;i<repeat;i++)
    {
        cout<<message<<endl;
    }
}
 
     
    