Skip to content

It checks if two input positive integers are "friendly numbers" or not.

Notifications You must be signed in to change notification settings

er-hiba/Friendly_Numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

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.

Example

♡ Example 1

♡ Example 2

About

It checks if two input positive integers are "friendly numbers" or not.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages