src/examples/03_module/01_if/if.cpp
//write code for the is_even function that returns true if num is even, false otherwise
write code for the is_even function that returns true if num is even, false otherwise
write code for the is_even function that returns true if num is even false otherwise
bool is_even(int num)
{
    auto even = false;
    if(num % 2 == 0) 
    {
        even = true;
    }
    return even;
}
bool is_even ( int num ) { auto even = false ; if ( num % 2 == 0 ) { even = true ; } return even ; }
write code for the is_even function that returns true if num is even, false otherwise
write code for the is_even function that returns true if num is even false otherwise
//% modulus returns the remainder