#include #include int main() { double x; char answer; cout << "Hello" << endl; do { cout << "Enter number? "; cin >> x; cout << "The square root of " << x << " is " << sqrt(x) << endl; do { cout << "Do you want to take the sqrt of another number? Enter y or n. "; cin >> answer; } while (answer != 'y' && answer != 'n'); } while (answer == 'y'); cout << "Good bye" << endl; }