void patient_data(){    
    char name[10];
    int ID[4];
    int age;
    char history[100];
    float temp;
    int breath; 
    printf("enter patient data:\n");    
    scanf("name : %s\n", name);
    scanf("ID: %d\n",ID);
    scanf("age %d\n",&age);
    scanf("history: %s\n", history);
    scanf("temp: %f\n",&temp);
    scanf("breath: %s\n", breath);
    FILE *info;
    info = fopen("info.txt","a");   
    fscanf(info,"%s     %d  %d  %s  %f  %d",name, ID, &age, history, &temp,&breath);
}
this code is supposed to take user input for patient data and save it in a file that should be accessed later, but the scanf functions are not working.
any Idea on what might be the issue here?
 
    