Answer to Question 08B-1

  #include <cstdio>
  #include <cmath>
  using namespace std;

  int main()
  {
    double x;

    printf("Square root of what number? ");
    scanf("%lf", &x);
    printf("The square root of %lf is %lf\n", x, sqrt(x));
    return 0;
  }