/* CS201 Example RJB Input: a positive real number. Output: the square root of the number Algorithm Get number output the square root of the number History Jan 7th 2008 Copied another exercise and modified that. Compile error: 'cint' in stead of 'cin' Compiles and works. */ #include #include using namespace std; int main() { double number; cout << "Input a non-negative real number" << endl; cout << "Number? "; cin >> number; cout << sqrt(number) << endl; return 0; }