2075 5

CSC115 ยท 2075 ยท 5 marks

Write a program to check whether a number entered is even or odd.

Write a program to check whether a number entered is even or odd. [5]

C ProgrammingChapter 5: Control StatementConditional Statements

When a number is divided by 2: - If the remainder is 0, the number is even - If the remainder is not 0, the number is odd The modulus operator % is used to find the remainder. --- --- Line Description ------------------- include<stdio.h Header file for input/output functions like printf and scanf...