odd even condition

Solutions on MaxInterview for odd even condition by the best coders in the world