98 is an even number. The only even prime is 2, so 98 is not prime. Therefore it is composite. That's one logic method. Another would be to show the factors (other than 1 and 98) such as (49 x 2) or (7 x 14). Since it as factors other than 1 and itself, then it is composite.
prime
5 is prime
Prime.
29 is a prime number.
89 is a prime number.
67 is a prime number.
Composite.
It is composite.
Composite
37 is the 12th prime number.
47 is a prime number.
5 is a prime number.