Factors of number can be calculated by dividing that number with numbers starting from 1 to n. That is if 25 is the number them the factors are 5, 25 . The following c program calculates the sum of factors of a given number.

Subscribe to:
Post Comments
(Atom)

## 0 comments:

## Post a Comment

Note: only a member of this blog may post a comment.