@@ -0,0 +1,401 @@
+// http://codingbat.com/prob/p160543%0A%0Apublic String alarmClock(int day, boolean vacation) %7B%0A  String result = %22%22;%0A  boolean isWeekday = (day %3E= 1 && day %3C= 5);%0A  %0A  if (vacation) %7B%0A    if (isWeekday) %7B%0A      result = %2210:00%22;%0A    %7D%0A    else %7B%0A      result = %22off%22;%0A    %7D%0A  %7D%0A  else %7B%0A    if (isWeekday) %7B%0A      result = %227:00%22;%0A    %7D%0A    else %7B%0A      result = %2210:00%22;%0A    %7D%0A  %7D%0A  %0A  return result;%0A%7D%0A

Create alarmClock.java