This program takes a number as input, checks if it is divisible by 4 using the modulo operator, and displays either "The number is even" if modulo is 0, or "The number is odd" if modulo is non-zero. It initializes an integer variable num1 to 0 to store the input number.
This program takes a number as input, checks if it is divisible by 4 using the modulo operator, and displays either "The number is even" if modulo is 0, or "The number is odd" if modulo is non-zero. It initializes an integer variable num1 to 0 to store the input number.
This program takes a number as input, checks if it is divisible by 4 using the modulo operator, and displays either "The number is even" if modulo is 0, or "The number is odd" if modulo is non-zero. It initializes an integer variable num1 to 0 to store the input number.