Advertisement
dllbridge

Untitled

Feb 11th, 2025
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.83 KB | None | 0 0
  1.  
  2. #include <stdio.h>
  3.  
  4.  
  5.  
  6. int n1 = 4;
  7.  
  8.  
  9.  
  10. ////////////////////////////////////////////////
  11. int main()
  12. {
  13.    
  14.     printf("The Faculty of Fhysicks!\n");
  15.  
  16.     for(int i = 1; i <= 9; i++)
  17.     {
  18.         printf("%d * %d = %2d\n", n1, i, n1 * i);
  19.     }
  20.  
  21. }
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. /*
  42.  
  43.     printf("%d * %d = %2d\n"   , n1, n2, n1 * n2); n2 ++;
  44.     printf("%d * %d = %2d\n"   , n1, n2, n1 * n2); ++ n2;
  45.     printf("%d * %d = %2d\n"   , n1, n2, n1 * n2);    
  46.  
  47. */
  48.  
  49.  
  50.  
  51. /*
  52. #include <stdio.h>
  53.  
  54. int n1=5;
  55. int n2=1;
  56.  
  57.  
  58. ////////////////////////////////////////////////
  59. int main()
  60. {
  61.    
  62.     printf("The Faculty of Fhysicks!\n");
  63.  
  64.     printf("%d * %d = %2d\n", n1, n2, n1 * n2); n2 ++;
  65.     printf("%d * %d = %d\n" , n1, n2, n1 * n2); n2 ++;
  66.     printf("%d * %d = %d "  , n1, n2, n1 * n2);
  67.      
  68.  
  69. }
  70.  
  71. */
  72.  
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement