Browse Source

docs: remove uncessary comments

pull/2648/head
amin 4 months ago committed by zanninso
parent
commit
4f383a346f
  1. 3
      subjects/java/checkpoints/perfect-number/ExerciseRunner.java
  2. 3
      subjects/java/checkpoints/perfect-number/README.md

3
subjects/java/checkpoints/perfect-number/ExerciseRunner.java

@ -2,15 +2,12 @@ public class ExerciseRunner {
public static void main(String[] args) {
PerfectNumber perfectNumber = new PerfectNumber();
// Test case 1
int number1 = 6;
System.out.println("Is " + number1 + " a perfect number? " + perfectNumber.isPerfectNumber(number1));
// Test case 2
int number2 = 28;
System.out.println("Is " + number2 + " a perfect number? " + perfectNumber.isPerfectNumber(number2));
// Test case 3
int number3 = 12;
System.out.println("Is " + number3 + " a perfect number? " + perfectNumber.isPerfectNumber(number3));
}

3
subjects/java/checkpoints/perfect-number/README.md

@ -23,15 +23,12 @@ public class ExerciseRunner {
public static void main(String[] args) {
PerfectNumber perfectNumber = new PerfectNumber();
// Test case 1
int number1 = 6;
System.out.println("Is " + number1 + " a perfect number? " + perfectNumber.isPerfectNumber(number1));
// Test case 2
int number2 = 28;
System.out.println("Is " + number2 + " a perfect number? " + perfectNumber.isPerfectNumber(number2));
// Test case 3
int number3 = 12;
System.out.println("Is " + number3 + " a perfect number? " + perfectNumber.isPerfectNumber(number3));
}

Loading…
Cancel
Save