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

PROGRAMMING:Output the nth prime

Luz5年前 (2021-05-10)题库401
Program to find out the first 100 primes stored in the array, and then enter an integer n, output the value of the nth prime.
###Input example:
```in
1 2 3 4 5
```
###Output example:
```out
two
three
five
seven
eleven
```
###Input example:
```in
5 8 9 10 100 200
```
###Output example:
```out
eleven
nineteen
twenty-three
twenty-nine
five hundred and forty-one
one thousand two hundred and twenty-three
```







answer:If there is no answer, please comment