Pregunta de entrevista de Cognizant

Can you write a Program for armstrong number?