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

PROGRAMMING:Nested loop statistical prime

Luz5年前 (2021-05-10)题库405
Input two positive integers and output all prime numbers between them (excluding input data). If the input is negative, there is no output
###Input format:
Enter positive integers a and B, separated by spaces.
###Output format:
Prime numbers greater than a and less than B (excluding input data a and b), separated by commas, and illegal data are not output.
###Input example:
Here is a set of inputs. For example:
```in
10 20
```
###Output example:
The corresponding output is given here. For example:
```out
11,13,17,19,
```







answer:If there is no answer, please comment