Question: using C language Exercise 2: Even or odd Exercise Objectives Using simple input and output statements Using switch selection structure Problem Description Write a C
Exercise 2: Even or odd Exercise Objectives Using simple input and output statements Using switch selection structure Problem Description Write a C program that check whether a number is even or odd number using switch structure: Add your name, your University ID number and section number as a comment in this program. Prompts the user to enter a number. Read the number Prints the final result whether the number is even or odd. Your output should do as shown in the sample output. Sample output: Please enter an integer number to check whether it is even or odd: 8 The number is Even - . Please enter an integer number to check whether it is even or odd: 3 The number is Odd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
