Write the program form Armstrong no in c++?

Answer Posted / hitesh

Armstrong Program in C++

Armstrong number is a number that is the sum of its own digits each raised to the power of the number of digits is equal to the number itself.
For example 153 is armstrong number, 132 is not prime number. <a href="http://www.tutorial4us.com/cpp-program/cpp-armstrong-program" rel="nofollow">Armstrong program in c++</a> is very simple and easy to write.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can comments be nested?

797


What are arrays c++?

812


What is the advantage of an external iterator.

753


Is c++ free?

795


Differentiate between the manipulator and setf( ) function?

815


Where is atoi defined?

775


What is a container class? What are the types of container classes in c++?

866


Is it possible to write a c++ template to check for a function's existence?

776


How can a struct in c++ differs from a struct in c?

796


What is private inheritance?

825


Explain what data encapsulation is in c++?

771


Can I create my own functions in c++?

796


What are the advantages of using pointers in a program?

875


Explain register storage specifier.

775


What is a volatile variable in c++?

973