为什么换不了行呢
#include<stdio.h>#include<stdlib.h>
int main()
{
int a,b,s;
for(a=1;a<10;a++)
{
for(b=1;b<=a;b++)
{
s=a*b;
printf("%2d*%d=%2d",a,b,s);
printf("\n");
}
}
printf("why I can't change the line??");
system("pause");
return 0;
}
#include<stdio.h> #include<stdlib.h> int main() { int a,b,s; for(a=1;a<10;a++) { for(b=1;b<=a;b++) { s=a*b; printf("%2d*%d=%2d ",a,b,s); } printf("\n"); } printf("why I can't change the line??"); system("pause"); return 0; }