Advertisement
Josif_tepe

Untitled

Feb 17th, 2021
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     for(int i = 1; i <= 10; i++) {
  7.         for(int j = 1; j <= 10; j++) {
  8.             if(i * j == 12) {
  9.                 cout << i << " * " << j << " = 12" << endl;
  10.             }
  11.         }
  12.     }
  13.     return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement