You need to write a comprehensive program for managing a clinic. Each clinic has a manager, a doctor, a nurse, and a patient, each of whom can use the program with their own username and password.
When the program starts, the user can enter their username and password to access the appropriate menu and use the program's features.
• Clinic name
• Clinic type (day and night, regular)
• Clinic manager variable
• List of departments
• Department name
• Department type
• List of doctors
• List of patients
• Character variable
• Salary
• Clinic variable
• Method to add department
• Method to delete department
• Method to hire doctor
• Method to fire doctor
• Method to pay salary
• Method to view employee salary
• Method to view doctor referral history
• Doctor type
• Salary
• Method to visit patient
• Method to show current income limit
• Change section
• Fees
• List of referral history
• Method for selecting a doctor
• Patient type
• Wallet balance
• Method for paying a fee
• Name
• Username
• Password
• Method for displaying the user name
• Method for finding a doctor
• Method for finding an ID
• Method for checking the validity of a username
• Method for checking the validity of a password
