WHAT IS PRIME NUMBER ?
Prime numbers are whole numbers which can be divisible only by one and itself to get remainder of zero.
WHAT IS COMPOSITE NUMBER ?
Composite Numbers are whole numbers which can be divisible by more than two numbers to get the remainder of zero.
PROGRAM
A Java program to find Greatest Prime and Smallest Composite from n number of Inputs.
OUTPUT
0 Comments