Java code to display all even or odd number from 1 to n

2Shares