Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream.h>
- #include<conio.h>
- int main()
- {
- int a,b;
- cout<<"input a number: ";
- cin>>a;
- for(int i=a;i>0;i--){
- for(int j=a;j>0;j--){
- b=a*j;
- b*=i;
- cout<<b<<"\t";
- }
- cout<<"\n";
- }
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement