From 4f383a346fb9f7d314a21adcb217b2fd1ea02e04 Mon Sep 17 00:00:00 2001 From: amin Date: Mon, 8 Jul 2024 02:22:00 +0100 Subject: [PATCH] docs: remove uncessary comments --- subjects/java/checkpoints/perfect-number/ExerciseRunner.java | 3 --- subjects/java/checkpoints/perfect-number/README.md | 3 --- 2 files changed, 6 deletions(-) diff --git a/subjects/java/checkpoints/perfect-number/ExerciseRunner.java b/subjects/java/checkpoints/perfect-number/ExerciseRunner.java index ced3ce51f..5feeb0901 100644 --- a/subjects/java/checkpoints/perfect-number/ExerciseRunner.java +++ b/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)); } diff --git a/subjects/java/checkpoints/perfect-number/README.md b/subjects/java/checkpoints/perfect-number/README.md index cfd04ce6f..9655fcef2 100644 --- a/subjects/java/checkpoints/perfect-number/README.md +++ b/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)); }