用goto写九九乘法表??
用goto要怎么写???
#include "stdio.h"
int main(void)
{
int i=1,j=1,num;
loop:if(i<=9)
{
j=1;
loop2:if(j<=i)
{ num=i*j;
printf("%d*%d=%d ",j,i,num);
j++;
goto loop2;
}
printf("\n");
i++;
goto loop;
}
return 0;
}