I’m new to C++ programming and i am finding it a little bit confusing, any help would be great. :oops:
Write a C program that reads an integer number and then determines and prints whether it is odd or even number.
„ Use simplest form if statement
„ Use scanf function to read an integer input from keyboard
„ Use printf function to display the result
• If it is odd number, display the message “? is an odd number”.
• If it is even number, display the message “? is an even number”
„ Hint : Use the remainder operator. An even number is a multiple of two. Any multiple of two leaves a
remainder of zero when divided by 2.