DEV Community

Discussion on: Daily Challenge #75 - Set Alarm

Collapse
lordapple profile image
LordApple • Edited on

c++

const auto setAlarm = [](const bool& employed, const bool& vacation){
    return employed && !vacation;
};