I NEED SOME ONE TO HELP ME OUT WITH THIS C PROGRAM

i have this C program but when ever i run it, it doesn't allow me to input the string (on line 12, it doesnt wait for me to type in the string(sentence) that i want to save in the array called details).
NOTE: it runs but doesnt do what i want;