Problem Statement
Write a C program that reads a positive integer n from the user and prints all even numbers from 1 to n (inclusive), each on a new line.
An even number is any integer that is divisible by 2 with no remainder.
For example, if n is 10, the even numbers from 1 to 10 are: 2, 4, 6, 8, 10.
If n is less than 2, no even numbers should be printed since there are no even numbers in that range.