###### Uncategorized

## Write a program to print first n prime numbers in Java.

AIM: – Write a program to print first n prime numbers in Java. Prime Number: AÂ prime numberÂ is a wholeÂ numberÂ greater than 1 whose only factors are 1 and itself. A factor is a wholeÂ numbersÂ that can be divided evenly into anotherÂ number. The first fewÂ prime numbersÂ are 2, 3, 5, 7, 11, 13, 17, Read more…