Hello,

I cannot figure out why, whenever I use the scanf function more than once, it never "executes" more than once. I will have three questions that require input from the user, but only the first question allows for input from the keyboard. Once I hit enter, the rest of the code just executes with me not able to input anything. Can someone tell me why?

Code:
#include <stdio.h>


int main()
{
    char name[20];
    int DOB;
    int phoneNumber;
    printf("Please tell us your name: ");
    scanf("%s", name);


    printf("When were you born? ");
    scanf("%d", &DOB);


    printf("What is your phone number? ");
    scanf("%d", &phoneNumber);


    printf("Here's your information:\n Name: %s\n Date of Birth: %d\n Phone Number: %d", name, DOB, phoneNumber);


    return 0;
}