#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int choice;
int i;
while(1)
{
scanf("please enter a number to start:\n",&choice);
if(choice==-1) break;
if(choice !=0)
for(i=0;i<10; i++){
printf("* ");
}
getchar();
}
system("pause");
return;
}
无数次输入打印
最新推荐文章于 2021-05-15 13:36:09 发布