Java program to print prime numbers upto n
// Java program to print prime numbers upto n
import java.util.Scanner;
public class PrimeNumberUptoN
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int a = 0;
int n = 0;