Advertisement
SergeyPGUTI

3.2.12

Sep 30th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     int n,a,Sum=0;
  9.     for (int i=10;i<=99;i++)
  10.     {
  11.         if(i==(2*(i%10)*(i/10))) cout<<i<<" ";
  12.     }
  13.     return 0;
  14. }
  15. ОТВЕТ 36
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement