Question: Write a program to wish happy birthday to a student. Firstly, take today month and day as an input and secondly take birthday as an
Write a program to wish happy birthday to a student. Firstly, take today month and day as an input and secondly take birthday as an input in the form of month and day.
If the input day and month matches the birthday day and month. Then say Happy Birthday
You should have two objects today and a birthday
You should define methods in a separate class other than the main method.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
