A number m is called a proper divisor of n if m<n and m divides n. A positive integer is perfect if it is the sum of its proper positive divisors. For example 28 is perfect because 1 + 2 + 4 + 7 + 14 = 28 . 1, 2, 4, 7, and 14 are the proper positive divisors of 28.
Write a java program ask the user to enter any positive number and the program will find if this number is perfect or not;
nouraaaaa 0 Newbie Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt 2,662 "Nothing to see here." Moderator
JamesCherrill commented: Worst possible advice for coursework -3
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt 2,662 "Nothing to see here." Moderator
JamesCherrill commented: ;-) +0
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.