Closed anuragdevon closed 4 years ago
Heya! Check out this PR once.
Please add an issue for modifying the documentation if your file is a different implementation then explained.
Also please check your code once, as to what qualifies as an Armstrong number, since your code seems to fail if I would input a number of say 4 digits, since an Armstrong number is one, for which the sum of individual digits, raised to the number of digits, is equal to the original number.
[]()
Else implement your code so that it works only for digits of length 3, and fails for any other.
Please add an issue for modifying the documentation if your file is a different implementation then explained.
Also please check your code once, as to what qualifies as an Armstrong number, since your code seems to fail if I would input a number of say 4 digits, since an Armstrong number is one, for which the sum of individual digits, raised to the number of digits, is equal to the original number.
Else implement your code so that it works only for digits of length 3, and fails for any other.
I'm closing this Pr and adding a new one.
Description of new pull request
Program Added - 1(ArmstrongNumber.go) Issue No.- #58
Checklist(self check):