// Write a program odd_even.c that // prompts the user enter an integer // prints out whether the number is even or odd // // $ ./odd_even // Please enter an integer: 8 // Even! // ./odd_even // Please enter an integer: 3 // Odd! #include int main(void){ int number; printf("Please enter an integer: "); scanf("%d", &number); if (number % 2 == 0){ printf("Even!\n"); } else { printf("Odd\n"); } return 0; }