hey everybody i need an answer of this question plz as soon as possible ,
write a method named season that takes two integers as parameters representing a month and day and that returns a string indicating the season for that month and day. Assume that months are specified as an integer between 1 an 12 (1 for jun, and so on) and that the day of the month is a number between 1 and 31. if the date falls between 12/16 and 3/15 you should return "winter" , if the date falls 3/16 and 6/15 you should return "spring" , if the date falls 6/16 and 9/15 you should return "summer" and if the date falls between 9/16 and 12/15 you should return "fall"??
HibaPro
-3
Junior Poster
Recommended Answers
Jump to PostIf you are looking for someone to give you codes, I would discourage you because I will not give you the code and would expect others to do the same.
If you are looking for how to implement this, I could at least help you out.
Look at the season …
All 4 Replies
Taywin
312
Posting Virtuoso
dcdruck
11
Light Poster
Taywin
312
Posting Virtuoso
HibaPro
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.