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

Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3444


What is class syntax c++?

711


Is the declaration of a class its interface or its implementation?

799


Explain dangling pointer.

768


What is an operator in c++?

695






When one must use recursion function? Mention what happens when recursion functions are declared inline?

734


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

692


Can java be faster than c++?

766


What are the data types in c++?

607


By using c++ with an example describe linked list?

689


Which operator cannot be overloaded c++?

674


How do I start a c++ project?

691


Which programming language is best to learn first?

684


Please explain the reference variable in c++?

703


Why do we use using namespace std in c++?

711