diff options
Diffstat (limited to 'BlankConsoleLab/BlankConsoleLab.cpp')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 1a04d1f..a987969 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -20,9 +20,9 @@ int main() cout << "Enter length in cm: "; cin >> length; area = ((length * width)/2.0)/10000.0; - cout << "Area in square meters: " << area; + cout << "Area in square meters: " << area << endl; ratio = width / length; - cout << "Ratio: " << endl; + cout << "Ratio: " << ratio << endl; //if ratio >= 1 // cout "Warning: use a lower ratio for stability"; |