about | help | code help+videos | done | prefs |
Write a method that returns 'true' if you are going to have a good weekend; 'false' if you are NOT going to have a good weekend. A good weekend is one with no homework, and you get to take a nap. That is the only way to have a good weekend. You will notice that the test data THAT YOU CAN SEE is all identical. This is to prevent you from just hard-coding to match the test data. aaa1funWeekend(false, false) → false aaa1funWeekend(false, false) → false aaa1funWeekend(false, false) → 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: 220
Copyright Nick Parlante 2017 - privacy