/* Structure - Hospital - A hospital needs to maintain details of patients. Details to be maintained are first name, middle name, surname, date of birth and disease. Write a C program which will print list of all patients with given disease. */ #include #include #include void main() { struct date { int d, m, y ; } ; struct hospital { char firstname[20], middlename[20], surname[20] ; struct date dob ; char disease[20]; } ; struct hospital h[50] ; int i, j, n ; char d[20] ; clrscr(); printf("Enter the number of patients: ") ; scanf("%d", &n) ; printf("Enter first name, middle name, surname, date of birth and disease for all patients: \n") ; printf("Enter date of birth in d/m/y format. \n") ; for(i=0 ; i