Pergunta de entrevista da empresa Cloud9 Technologies

whats the c++ code for amstrong number?