该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
某机房代码
#include "stdio.h"
main()
{
int n,i;
n=1;
while(n<=9)
{
printf("%8d",n);
n++;
}
printf("\n");
n=1;
while(n<=72)
{
printf("%c",'-');
n++;
}
printf("\n");
n=1;
while(n!=2)
{
printf("%2d*1==%d",n,n*1);
n++;
}
printf("\n");
n=1;
while(n!=3)
{
printf("%2d*2==%d",n,n*2);
n++;
}
printf("\n");
n=1;
while(n!=3)
{
printf("%2d*3==%d",n,n*3);
n++;
}
printf("%3d*3==%d",n,n*3);
printf("\n");
n=1;
while(n!=3)
{
printf("%2d*4==%d",n,n*4);
n++;
}
printf("%3d*4==%d",n,n*4);
printf("%2d*5==%d",n,n*5);
printf("\n");
n=1;
while(n!=6)
{
printf("%2d*5==%d",n,n*5);
n++;
}
printf("\n");
n=1;
while(n!=7)
{
printf("%2d*6==%d",n,n*6);
n++;
}
printf("\n");
n=1;
while(n!=8)
{
printf("%2d*7==%d",n,n*7);
n++;
}
printf("\n");
n=1;
while(n!=9)
{
printf("%2d*8==%d",n,n*8);
n++;
}
printf("\n");
n=1;
while(n!=10)
{
printf("%2d*9==%d",n,n*9);
n++;
}
printf("\n");
}