// Function testing shell // Michael Rothstein // 4/18/14 #include using std::cin; using std::cout; using std::endl; #ifdef TEST int main(){ while(1){ cout << "Input a number to test: "; double x; cin >> x; if ( x < 0 ) break; cout << "Output for " << x << " is " << sqrt(x) << endl; } } #endif