CPP   136
99
Guest on 14th March 2023 12:23:39 AM


  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int i,j;
  7.     for(i=1;i<=9;i++)
  8.     {
  9.        for(j=1;j<=9;j++)
  10.        {
  11.           printf("%d*%d=%d ",i,j,i*j);
  12.           if(j==9)
  13.           {
  14.             printf("\n");        
  15.           }                
  16.        }                
  17.     }
  18.     system("pause");
  19.     return 0;
  20. }

Raw Paste

Login or Register to edit or fork this paste. It's free.