Q1.
Create a structure Patient having patient's first name, middle name, surname, date of birth and disease and print it.
Input: no. of patients, details.
Output: structure.
Q2.
Create a structure Player having player's name, team name and batting average as data members. Write a program to print details of those players in descending order of their batting average.
Input: no. of players, details.
Output: structure in descending order.
Q3.
Create a structure Employee having employee's name, id, Building Name , Floor No. , Street , Pin , Salary , Date Of Salary as data members. Write a program to print details of the employees whose salary is greater than a certain value.
Input: no. of employee, details.
Output: entire structure, structure of employees satisfying the condition.
Q4.
Create a structure Employee having employee's name, id, experience and salary as data members. Write a program to print details of the employees whose salary is less than a certain value AND whose experience is more than a certain value.
Input: no. of employee, details.
Output: entire structure, structure of employees satisfying the condition.
Q5.
Create a structure Patient having ID, patient_name and disease_name as data members. Write a program to read details of patients and print details of those patients having ‘diabetes’ (using function).
Input: no. of patients, details.
Output: entire structure, structure of employees satisfying the condition.