标签:io for sp c print include bs printf
//打印一个5*5的乘法表
#include <stdio.h>
void main()
{
printf("打印5*5的乘法表\n");
int i,j,s=0;
for (i=1;i<=5;i++)
{
for (j=1;j<=i;j++)
{
s=i*j;
printf("%d ×%d = %d\n",i,j,s);
}
printf("\n");
}
}
标签:io for sp c print include bs printf
原文地址:http://www.cnblogs.com/wenhuan/p/3918910.html