我也是初学莫名其妙的写出来了,各位指点一下
#include<stdio.h>
int main(void)
{
int a,b;
printf("Please enter a value:");
scanf("%d",&a);
b=a+11;
while(++a<=b)
{
printf("%d\n",a-1);
}
printf("over");
return 0;
}
#include<stdio.h>
int main(void)
{
int a,b;
printf("Please enter a value:");
scanf("%d",&a);
b=a+11;
while(++a<=b)
{
printf("%d\n",a-1);
}
printf("over");
return 0;
}