السلام عليكم ورحمة الله وبركاته
الرجاء المساعدة في هذا البرنامج او توضيح مخرجاته
The class Birthdays is to be used to store information about the date of people’s birthdays. The class will have the following functionality
Add
Input parameters: name of person, day of month, month of year
Return value: true for success, false for error
Action: add the birth date for a person if it is not already there
•
Get day
Input parameters: name of person
Return value: day of month or -1 for error
Action: look up and return the day of month for the person’s birthday
•
Get month
Input parameters: name of person
Return value: month of year or -1 for error
Action: look up and return the month of the person’s birthday
•
Delete
Input parameter: name of person
Return value: true for success, false for error
Action: delete the entry for this person
وشكرا
