Posts by Isaac de Matos • 1 point
1 post
-
0
votes5
answers3766
viewsA: Java - simple program (finding cousins) - does not run
System.out.println("Digite um numero:"); int numero = scan.nextInt(); int diferença = 0; for (int i = 1; i < numero; i++) { if (numero % i == 0) { …
javaanswered Isaac de Matos 1