标签:scan printf i++ bsp span == 输出 clu ++
#include<stdio.h> int main() { int n,i,j; scanf("%d",&n); n>=1&&n<=9; for(i=1;i<=n;i++) { for(j=1;j<=i;j++) { if(j==i) printf("%d*%d=%d\n",j,i,i*j); if(j<i) printf("%d*%d=%-2d ",j,i,i*j); } } printf("\n"); return 0; }
标签:scan printf i++ bsp span == 输出 clu ++
原文地址:https://www.cnblogs.com/chenlong991223/p/9866353.html