about | help | code help+videos | done | prefs |
Write a method that returns "Have a great summer!" if it is almost summer and it is the last day of school and there are 6 or fewer hours remaining (based on the parameters being passed in). Otherwise return "I can't wait" lastDayQuiz2014N1(true, true, 5) → "Have a great summer!" lastDayQuiz2014N1(true, true, 2) → "Have a great summer!" lastDayQuiz2014N1(true, true, 15) → "I can't wait" ...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: 220
Copyright Nick Parlante 2017 - privacy