Advertisement
Rehan_Rahman26

//(Loop Problem) CODE 1:

Sep 29th, 2021
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. //(Loop Problem) CODE 1:
  2. #include <bits/stdc++.h>
  3. using namespace std;
  4. int main()
  5. {
  6.     int n;
  7.     cin >> n;
  8.     for(int i=1; i<=10; i++)
  9.     {
  10.         cout << n << " x " << i << " = " << n*i << endl;
  11.  
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement