Create a java application that allows


Netbeans Program Only): Create a Java application that allows the user to repeatedly enter a number to find out if it is a perfect number. A perfect number is ***** that is equal to the sum of all of its positive divisors, excluding itself.
For example, 6 is a perfect number because 1 + 2 + 3 = 6.
28 is a perfect number because 14 + 7 + 4 + 2 + 1 = 28.
The program should: 1) prompt the user for a positive number. 2) print out if the number is ***** perfect number or not. 3) then ask if the user would like to enter another number or quit. ///Submit your .java file here when you have completed the assignment. Late assignments will not be accepted without an approved excuse.
*Hint: your program will contain a do-while loop for input while the user says yes, a for loop to loop through the divisors to determine if a number is ***** and a user validation while loop to make sure input is a positive number.


Posted in Uncategorized