Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- void mult(int n1);
- ////////////////////////////////////////////////
- int main()
- {
- int n1 = 1;
- setlocale(LC_ALL, "rus");
- mult(n1);
- }
- ////////////////////////////////////////////////
- void mult(int n1)
- {
- for(n1 = 1; n1 < 11; n1++)
- {
- for(int n2 = 1; n2 < 11; n2++)
- cout << setw(2) << n1 << " * " << setw(2) << n2 << " = " << setw(3) << n1 * n2 << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment