Write a C-program to print even number or odd number based on the n value using single while loop?