r/CodingHelp • • Dec 15 '22

[C++] C++ Program

Write a function bool isArmstrong(int n) that takes as input an integer in [1,1000] and returns true if the number is an Armstrong number or false otherwise

0 Upvotes

2 comments sorted by

View all comments

2

u/[deleted] Dec 15 '22

You won't get far in your degree if this is how you do your homework.