| about | help | code help+videos | done | prefs |
willHaveTime
You are Bruce Wayne. You want to go out and solve crime, but there's a chance that you're going to have to do work for Wayne Industries before you put the cowl on. Given the number of minutes you have available timeAvail and the number of minutes in which you are busy timeBusy, return "I'm spending tomorrow doing work. Ugh!", "I've got some free time tonight!", or "I'll be finished by tonight. Not bad..." If timeAvail or timeBusy is a negative number, return "What? This makes no sense..." willHaveTime(0, 0) → "I'll be finished by tonight. Not bad..." willHaveTime(10, 5) → "I've got some free time tonight!" willHaveTime(3, 8) → "I'm spending tomorrow doing work. Ugh!" ...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: 100
Copyright Nick Parlante 2017 - privacy