Guest User

Untitled

a guest
Dec 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <locale.h>
  3.  
  4. using namespace std;
  5.  
  6. int main(void)
  7. {
  8. int i, j;
  9.  
  10. for (i=1;i<=9;i++)
  11. for (j=0;j<=9;j++)
  12. if ((3*j*i)==(i*10+j))
  13. cout<<i*10+j<<endl;
  14.  
  15.  
  16.  
  17.  
  18. return 0;
  19. }
Add Comment
Please, Sign In to add comment