The problem reads a perfect number is defined as a positive integer which is the sum of its proper divisors. Or in other words, the sum of the positive divisors excluding itself. The first perfect...
Type: Posts; User: Th3T3chGuy
The problem reads a perfect number is defined as a positive integer which is the sum of its proper divisors. Or in other words, the sum of the positive divisors excluding itself. The first perfect...
import java.util.Scanner;
public class Text1{
public static void main(String [] args){
Scanner input = new Scanner(System.in);
int answer = 1;
int number = 0;
int x;