Question d’entretien chez IBM

Java program to print alternate numbers