This program allows users to input two positive integers, and determines whether they are "friendly numbers."
Friendly numbers are pairs of integers where the sum of the proper divisors of one number is equal to the other number. The program calculates and displays the sum of the proper divisors (excluding 1) for each input integer and then provides a clear message indicating whether the two numbers are friendly or not.
-
Notifications
You must be signed in to change notification settings - Fork 0
er-hiba/Friendly_Numbers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
It checks if two input positive integers are "friendly numbers" or not.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published