为什么只能输出9x9的?可以一次性九九乘法表全输出的吗???

#include <stdio.h>

int main()

{

int i , j, result;

for(i=9;i>=9;i--)

{

for(j=1; j<=i;j++)

{

result = i * j;

printf("%d*%d=%d\t",i,j,result);


   }

printf("\n");

  }

getchar();

}


闷a
浏览 1884回答 3
3回答

噼喱啪啦

for(i=9;i>=9;i--)   改成i>=0

江户川秋风

/*打印九九乘法表*/ #include <stdio.h> int main() { int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) { printf("%d×%d=%d\t",j,i,i*j); } printf("\n"); } return 0; }

慕的地8582982

ZNJUUYSCCWSAUVVZGWGZDIEULSFPIVOCZEUISDTTGZXDEANKIJGUDACSIIIZPMZOZMWMJYOOLEYBOEXDOEVPIDKPYOHVMVOYHLIJTHXXEENRZVJZVMGCTPZDGGZHXEEIJCMJCGJPGDRUXHVTGCXNOHEHLYOBORIYMGIWHJIFVSZCENYPWVPZTWTNWKIIORYOUHRRCFYOREKJJCLILMCGZIGAQWQTHNQTFCPFFIVUZWCZWWUKHAKWQSQNGNWPTMILYLFOIXHJAZLLFOZBQFVEBUDAAHYKVDZIROLOTZOYVWWVFCWMCMWIXCCSVLLBNKFUGPMPHHZYYFFBAXVSZAOFIQMMFFCWGVXUQAXJWLMPYPIJXAEHQOLUNXQVAJGRFYHVPUAQMWMZTMRNDCFVTPPFPDAWVBPPOVAWGJSGPMNMGCVMGXDCGKVCCSBMKXTTLFSPUBICNBKKBXRDQXARQAAAWNNFYQWPTNGTFOBVFPKKUDHXGGGRKGTEUYJLJQRZFFZCMDCQUSSBEIFPPSPSTTZCVQOUSVMJTIIZZCISCNADGZTTHACGZYOYHKGWMILHDZQSPAPTINWODTJLBYIYOKMOXIEUXTNDNUKSVQAXGPMIVKADTPZWRUKNPEUXAWTJLVIXGCKNQHWZVSHDZKAXGIGJDLHKNLHQMHRFAYHDAJNIFICETCZWYZPZJBKAJLOYHDAQQZUKADAWLVFDSIEHYMVLOELHQNJMVYHQTZIKUXOYGQADCKHXHQSVEBRHJSIYOXNJZPLAKOKADMPLCBXZPZDAQYJGWYHXZXHBLUECRNXZCZIXHEEGCYAQAWTVFHJSHEVYHPZJPYNDMJZVKUEFUQHKFVKTKTETXTQUDMUDTEHDUXUKNJZC
打开App,查看更多内容
随时随地看视频慕课网APP