為什么代碼正確,提交的時(shí)候卻說我錯(cuò)誤
#include <stdio.h>
int main()?
{?
? ? // 定義相乘數(shù)字i,j以及結(jié)果result
? ? int i, j, result;
? ? for(i=9;i>=1;i--)
? ? ? ? {
? ? ? ? ? ? for(j=1;j<=i;j++)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? result=i*j;
? ? ? ? ? ? ? ? printf("d%*d%=d%\t",i,j,result);
? ? ? ? ? ? }
? ? ? ? ? ? printf("\n");
? ? ? ? }
? ? return 0;
}
2016-08-29
這里的編譯器都被設(shè)置過格式的,你可以拿個(gè)c-free之類的編譯器運(yùn)行就好了,效果能實(shí)現(xiàn)就好了,它說對或者錯(cuò)也不是很重要的事情