about | help | code help+videos | done | prefs |
public boolean doesMonthHave30Days(int month)
boolean has30Days = false; // default if (month == 4 || month == 6 || month == 9 || month == 11) { has30Days = true; } return has30Days; doesMonthHave30Days(1) → false doesMonthHave30Days(2) → false doesMonthHave30Days(3) → false ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 1
Copyright Nick Parlante 2017 - privacy