Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create armstrong number.cpp #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mishrasushruti99
Copy link

@mishrasushruti99 mishrasushruti99 commented Oct 31, 2017

i have proposed to program that checks whether or not the number is an armstrong or not ie sum of cubes of the digits of the number is equal to the number itself.

Fixes #

Checklist

  • I have read the [Contribution Guide] and my PR follows them.
  • My branch is up-to-date with the master branch.
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • The contents added are completelt original and have no copyright issues.

Short description of what this resolves:

An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 33 + 73 + 1**3 = 371.

Changes proposed in this pull request:

-creation of a program which checks whther or not a number is an armstrong number.

i have proposed to program that checks whether or not the number is an armstrong or not ie sum of cubes of the digits of the number is equal to the number itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant