#include <stdio.h> #include <stdlib.h> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char *argv[]) { int a,b,c; for(a=1;a<=9;a++) { for(b=1;b<=a;b++) { printf("%2d*%2d=%2d ",b,a,a*b); } printf("\n"); } return 0; }

轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/228355.html
標籤:C
上一篇:“C語言已經老掉牙了,很快就會被淘汰”?通過這篇文章像你展示C偉大的一面
下一篇:C語言解二元一次方程
