Advertisement
realever15

程設練習1-8

Oct 19th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. int main(){
  4.     int i,j;
  5.    
  6.     while(i<9)
  7.     {
  8.      i++;
  9.      j=1;
  10.      while(j<=9)
  11.      {
  12.       printf("%dx%d=%2d ",j,i,i*j);
  13.       j++;
  14.      }
  15.      printf("\n");
  16.     }
  17.     system("PAUSE");
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement