From 1c03e941f1015c48917ddc603d84b134eb705f10 Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Mon, 5 Mar 2012 14:28:10 -0500 Subject: finish it all up --- Q1.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Q1.cpp') diff --git a/Q1.cpp b/Q1.cpp index 6b23316..31e57b6 100644 --- a/Q1.cpp +++ b/Q1.cpp @@ -10,7 +10,7 @@ int main() double input; double sq, mysq; - do { // + do { cout << "Enter a number (negative to quit)" << endl; cout << ">> "; cin >> input; @@ -21,7 +21,6 @@ int main() cout << "sqrt(" << input << ") = " << sq << endl; cout << "sqrt and mysqrt differ by " << abs(sq - mysq) << endl; } - } while (input >= 0); return 0; -- cgit v1.2.3