3. Check Armstrong Number
Lesson 4 of 31 in Coddy's 30 Days of Logic Building in C++ course.
Challenge
EasyWrite a function to check if a number is an Armstrong number.
- Input: 153
- Output: true
Try it yourself
bool isArmstrong(int num) {
// Write code here
}All lessons in 30 Days of Logic Building in C++
1Introduction
Introduction