Last active
March 18, 2016 02:14
-
-
Save fa7ad/45ccba633e997a8fecd4 to your computer and use it in GitHub Desktop.
Simple Multiplication table given the input. Codemarshal DIU challenge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <bits/stdc++.h> | |
| using namespace std; | |
| int main() | |
| { | |
| int n; | |
| cin >> n; | |
| for(int i = 1; i < 11; i++){ | |
| cout << n << " x " << i << " = " << n*i << "\n"; | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment