dllbridge

Untitled

Aug 14th, 2026
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.48 KB | None | 0 0
  1. #include <iostream>
  2. #include  <iomanip>
  3. using namespace std;
  4.  
  5. void mult(int n1);
  6.  
  7. ////////////////////////////////////////////////
  8. int main()
  9. {
  10.     int n1 = 1;
  11.     setlocale(LC_ALL, "rus");  
  12.    
  13.    
  14.  mult(n1);
  15.  
  16.  
  17. }
  18.  
  19. ////////////////////////////////////////////////
  20. void mult(int n1)
  21. {
  22.  
  23.   for(n1 = 1; n1 < 11; n1++)
  24.   {
  25.     for(int n2 = 1; n2 < 11; n2++)
  26.         cout << setw(2) << n1 << " * " << setw(2) << n2 << " = " << setw(3) <<  n1 * n2 <<  endl;
  27.   }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment