From 08b9259dbb597d03e44cefa26f6e6453b8c96114 Mon Sep 17 00:00:00 2001 From: "mihirsuman0131@gmail.com" Date: Sun, 15 Jan 2023 23:18:13 +0530 Subject: [PATCH] final checks --- algorithms/Java/Maths/Sieve_of_Eratosthenes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms/Java/Maths/Sieve_of_Eratosthenes.java b/algorithms/Java/Maths/Sieve_of_Eratosthenes.java index 42e355c0..762488dd 100644 --- a/algorithms/Java/Maths/Sieve_of_Eratosthenes.java +++ b/algorithms/Java/Maths/Sieve_of_Eratosthenes.java @@ -33,7 +33,7 @@ public class Sieve_of_Eratosthenes { public static void main(String[] args) { Scanner sc = new Scanner(System.in); - System.out.print("Enter the maximum number upto which prime numbers are required: "); + System.out.print("Enter the maximum number up to which prime numbers are required: "); int n = sc.nextInt(); boolean[] isPrime = sieveOfEratosthenes(n); System.out.print("Following are the prime numbers: ");