Computer Science, asked by lugie, 8 months ago

Tina always forgets her birthday which is on the 10 th June In order to help her, we have a class BirthDay having a method checkBirthDay(String month,it day) which takes day and month as inputs and return 1 Yes if it is her birthday else return No. The method compiles fine but fails to return the desired result for some cases. Your task is to fix the code so that it passes all test cases.

Input: Enter month and date
Output: Print Yes or No

Answers

Answered by naveenjoshi01974
1

Answer:

I have written code to check any birthday input's validity. As I am new in programming, and after going through several debugging steps, the code became ...

I hope it's help you please like and vote this question and mark on brain list please follow me

Answered by setukumar345
0

Concept :

Sorting out some way to code is imperative considering the way that it makes conclusive thinking, decisive reasoning, and inventive capacities to reason. Another capacity that is esteemed in the workplace is coding. Many advantages go with sorting out some way to code. It upholds empowering adaptability in adolescents starting from the start. The new instruction is coding. It upholds the advancement of enrolling limits. Kids who sort out some way to code encourage various capacities past estimation, for instance, conclusive thinking and decisive reasoning. Since it expects a basic part in the electronic change, coding will transform into a certainly vital limit. It is the PC business' overall language.

Explanation:

We have been given a question fixing code.

We have to write about it.

• Coding can help with your mechanical appreciation.

• It can work on one's capacity to take care of issues.

• You can utilize coding to make information representations.

• Coding can uphold inventive articulation.

Final answer:

Sorting out some way to code is imperative considering the way that it makes conclusive thinking, decisive reasoning, and inventive capacities to reason.

#SPJ2

Similar questions