Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<climits>
- using namespace std;
- int i,j,t,x;
- int main()
- {
- for(i=2;i<=7;i++)
- {
- for(j=i+1;j<=8;j++)
- {
- x=j+1;
- if(j==3)x=7;
- for(t=x;t<=9;t++)
- {
- cout<<i<<j<<t<<" ";
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement