Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 217 Bytes

7-24-判断素数.md

File metadata and controls

9 lines (5 loc) · 217 Bytes

判断素数

输入一个大于3的整数n,判断它是否为素数。(输出yes/no)

例如,输入4,输出no;

输入7,输出yes。

错误输入,则输出error。所有输出没有回车符号。