// Pantea Aria // functions recap // Write a function called is_even_or_odd that: // Takes an integer as input // Returns 1 if the number is even // Returns 0 if the number is odd // what is the type of the function? int #include // function prototype int main(void) { int number = 10; int result = is_even_or_odd(number); //returns 1 printf ("function returns %d\n", is_even_or_odd(5)); // output 0 printf ("Result of is_even_or_odd(10) is %d\n", result); // output 1 return 0; } // function definition