re: Daily Challenge #75 - Set Alarm VIEW POST


I'm sorry, but it seems like you've lost the challenge somewhere.

At first I thought I've probably missed something, but then I saw the comments and realized it wasn't me, it was whoever came up with this challenge.

If I may offer a twist - Do it in a language you've never worked with before.
I'll take Scala for a ride on this one:

object challenge {
   def setAlarm( employed:Boolean, vacation:Boolean ) : Boolean = {
      return employed && !vacation

Nope, sorry, still too easy.

code of conduct - report abuse