Advertisement
Qpel

48 psl 5 uzd

Oct 21st, 2014
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     double n = 75;
  9.     while (n>0){
  10.         n=sqrt(n);
  11.         n=floor(n);
  12.         n=n*n;
  13.         cout << n << ", " << endl;
  14.         break;
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement