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
Recommended Answers
Jump to PostHow far have you got? What’s stopping you?
Jump to PostSorry James. And I'm OK with the -1 (F) grade for that reply. Sometimes the student needs a hard zing on an assignment to learn they have to write it themselves. However sometimes you'll get a hit on plagiarism checkers and it is the students work. The assignment here is …
All 5 Replies
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
rproffitt 2,588 "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,588 "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.