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

PROGRAMMING:Judge prime

Luz5年前 (2021-05-10)题库390
Enter a positive integer m to judge whether the number is prime or not. A prime is a number that can not be divided by other numbers except 1 and itself (1 is not a prime, 2 is a prime).
###Input format:
Enter a positive integer
###Output format:
It is a prime number that outputs "yes", not a prime number that outputs "no".
###Input example:
Here is a set of inputs. For example:
```in
seventeen
```
###Output example:
The corresponding output is given here. For example:
```out
Yes
```
###Input sample 2:
Here is a set of inputs. For example:
```in
one hundred and eleven
```
###Output sample 2:
The corresponding output is given here. For example:
```out
No
```







answer:If there is no answer, please comment