Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*//////////////////////////
- //Author:Alexander Rusinov//
- ///////////////////////////
- */
- #include <iostream>
- using namespace std;
- void table(int i, int k)
- {
- cout<<k<<": ";
- for(int j=1; j<=10; j++)
- cout<<j*k<<" ";
- }
- int main()
- {
- int k=1;
- for(int i=1; i<=9; i++, cout<<endl)
- if(k<=9)
- table(i,k++);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement