Check Number Is Armstrong Or Not
A positive integer is called an Armstrong number if the sum of cubes of individual digit is equal to that number itself. #include <iostream> using namespace std; int main() { int origNum, num, rem, sum = 0; cout << “Enter a positive three digit integer… Read More »Check Number Is Armstrong Or Not