Create task_3.1

check even or odd by if_else loop