// Pantea Aria // function recap - void function/procedure // Write a function called print_even_or_odd that: // Takes an integer as input, you pass an integer to the function // Prints whether the number is even or odd // Does NOT return a value // What is the type of the function? void #include // function prototype void print_even_or_odd(int number); int main(void) { int number = 10; // function call print_even_or_odd(number); // prints: even print_even_or_odd(5); // prints: odd print_even_or_odd(number + 5); return 0; } // function definition void print_even_or_odd(int pantea) { if (pantea % 2 == 0) { printf ("Even\n"); } else { printf("Odd\n"); } return; }