// adaptado de Barton,Nackman "Scientific and Engineering C++"
//      jtmn, Ago, 2003


#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;

int main() {

  float x;
  cout << "enter a number or <cltl>d " << endl;
  while (cin >> x) 
  {
    cout << setw(25) << x << setw(25) << sqrt(x) << endl;
  }

return 0;
}
