好是好 可是显示的格式没有达到题目的要求!
#include <stdio.h>
int main(void)
{
unsigned int n;
unsigned char i = 0;
unsigned int str[11];
printf("please input a number:\n");
scanf("%d", &n);
for(i=1; i<6; i++)
{
str[2*i-1] = n*(2*i-1);
str[2*i] = n*2*i;
printf("%d*%d=%d %d*%d=%d\n", 2*i-1, n, str[2*i-1], 2*i, n, str[2*i] );
}
return 1;
}