Question: 2. (If statement) The syntax of the if statement is: 1: statement 2: stacement 3: ) else statement4: Note that if you want to execute

2. (If statement) The syntax of the if statement is: 1: statement 2: stacement 3: ) else statement4: Note that if you want to execute multiple statements after if, you have to enclose them by and). else is optional above. Write a program to tell whether an integer entered from the keyboard is an even number or an odd number. Use the following as a template: #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
