+ 1
How could I write cod to show how many days in a month in Java?
February has 28 days November, April, June and September have 30 days and the rest have 31 days
3 Respuestas
+ 2
If you don't want to use switch, just convert everything to if-else if statements.
https://www.sololearn.com/learn/Java/2205/?ref=app
+ 1
Thanks. But can I have it without switch?