is for adding appointments to a structure with the add fucntion.
in this part i ask for a description of the appointment, the start time and the duration.
to ask for the description, i am using the fgets(); function. but the program terminates at this point saying "schedule.exe has stopped working".

this entire part is inside the main, inside an infinite loop like this