Hey Guys, I need assistance with my code because everytime it skips the part to input. Maybe someone could help me with my code. here it is.

Code:
int main()
{
    int index,choice,choiceloop,row=0,col=0,main=0,stop;
    char bookstore[20][50],loopchoice,booktitle[50];
    do
    {
    system("cls");
    cout<<"Welcome to MMSU's Library System"<<endl;
    cout<<"Press 1 to Add Books"<<endl;
    cout<<"Press 2 to Display Books"<<endl;
    cout<<"Press 3 to Search Books"<<endl;
    cout<<"Press 4 to Edit Books"<<endl;
    cout<<"Press 0 to exit the System"<<endl;
    cout<<endl<<"Choice: ";
    cin>>choice;
    if(choice==1)
    {
        system("cls");
        cout<<"ADDING BOOK - MMSU Library System"<<endl;
        row=0;
        do
        {
            cout<<endl<<"Title: ";
            fgets(bookstore[row],50,stdin);
            //for(row=0;row<20;row++)
            //    for(col=0;col<50;col++)
            //        booktitle[col]=bookstore[row][col];
            cout<<endl<<"Do you want to enter again(Y/N): ";
            cin>>loopchoice;
            if(loopchoice=='y'||loopchoice=='Y')
            {
                choiceloop=1;
                row++;
            }    
            else if(loopchoice=='n'||loopchoice=='N')
            {
                choiceloop=0;
                main=1;
            }    
        }
        while(choiceloop==1);
I know its a long read but I'd be grateful if you could help. Thanks in Advance Guys