short number,n; bool prime; cin>>number; for(n=2;n

来源:学生作业帮助网 编辑:作业帮 时间:2024/08/02 19:21:48
short number,n; bool prime; cin>>number; for(n=2;n
x)+/*Q+MJ-ɳVHQ((MVH̳HY+iY$铣MΆl]|V˳/6c;\XɎ'{f=moË3-RmHߜn H<;P͚

short number,n; bool prime; cin>>number; for(n=2;n
short number,n; bool prime; cin>>number; for(n=2;n

short number,n; bool prime; cin>>number; for(n=2;n
你的思路是对的,应该不会出现这样的情况.你看看这样写如何.
#include
#include
using namespace std;
int main(){
\x05short number,n;
\x05bool prime;
\x05cin>>number;
\x05if ( number