输出九九乘法表
  1 #include <stdio.h>2 int main()3 {4   int i,j;5   for(i=1;i<=9;)6      {7       for(j=1;j<=9;j)8          {9            if(i>=j)10                 {11                   printf("%d*%d=%d    ",j,i,j*i);12                 }13                j++;14          }15             printf("\n");16                i++;17          }18 19 20 return 0;21 }  
输出平行四边形   
   1 #include <stdio.h>2 int main()3 {4  printf("\n\5 +++++++++++++++++++++\n\6  +++++++++++++++++++++\n\7   +++++++++++++++++++++\n\8    +++++++++++++++++++++\n");9 return(0);10 }11 
~