-->
当前位置:首页 > 题库

编程题:Prime Number

Luz4年前 (2022-07-16)题库462
Your program reads a natural number in and judge if it is a prime number or not.

### Input Format:

A positive whole number.

### Output Format:

A sentence states the number is prime or composite.

### Sample Input:
in
13


### Sample Output:

out
13 is a prime number.


### Sample Input:
in
12


### Sample Output:

out
12 is not a prime number.












答案:若无答案欢迎评论