public boolean sleepIn(boolean weekday, boolean vacation) {
if ( weekday != true && vacation ==true ){
return true;
}
if (weekday !=true && vacation != true){
return true;
}
if (weekday == true && vacation != true){
return false;
}
if (weekday == true && vacation == true){
return true;
}
return false;
}
ID: 2587
NAME: code-quiz-question
DESCRIPTION: code-quiz-question - can we sleep in today?
AUTHOR: article.author/s
EDITOR: article.editor/s
PUBLISHER: article.publisher/s
STATUS: Write
PRIORITY: -5
OWNER ID: 75