Leiferson, although the OP had solved the issue, spoon-feeding is something that doesn't benefit the community, due to how it strips the recipient of the learning process.
Suggested Reading:...
Type: Posts; User: newbie
Leiferson, although the OP had solved the issue, spoon-feeding is something that doesn't benefit the community, due to how it strips the recipient of the learning process.
Suggested Reading:...
System.out.println(month + year + " has " + days + " days");
month + year is performing an arithmetic operation.
Just print the year out instead of month, as you're already printing the month in...