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
What is flag in computer?
Explain the advantages of using friend classes.
Can I learn c++ as my first language?
What is the difference between an array and a list?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
How many standards of c++ are there?
What is static class data?
What is flush () in c++?
What does floor mean in c++?
Keyword mean in declaration?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
How would you call C functions from C++ and vice versa?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
What methods can be overridden in java?
Which software is best for coding?