Question d’entretien chez KPIT Technologies

Write a program to print Armstrong number.