daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 57 in 5 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. int main() {
  4.     int m1, m2, n1, n2;
  5.     std::cin >> m1 >> m2 >> n1 >> n2;
  6.     for (size_t i = m1; i != m2+1; ++i) {
  7.         for (size_t j = n1; j != n2+1; ++j) {
  8.             std::cout << i << " x " << j
  9.                       << " = " << i*j << "\n";
  10.         }
  11.         std::cout << "\n";
  12.     }
  13. }
RAW Paste Data
Top