Header Ads Widget

What is Armstrong number.

A number is called an armstrong number is it's sum of  nth power of individual digits is equal to that number. where n is the no. of digits in the number

example:-

153 

in this number there are 3 digits so n=3

=1*1*1+5*5*5+3*3*3

=153

since it is equal to the number so it is an Armstrong number


Recommended Post :-

HCL Coding Questions:-

Capgemini Coding Questions:-

Companies interview:-

Full C course:-    

Key points:-

Cracking the coding interview:-

 Array and string:-

Tree and graph:-

Hackerearth Problems:-

Hackerrank Problems:-

Data structure:-

 MCQs:-


Post a Comment

0 Comments