diff options
| author | tafaar <[email protected]> | 2022-10-16 00:22:14 -0700 |
|---|---|---|
| committer | tafaar <[email protected]> | 2022-10-16 00:22:14 -0700 |
| commit | 01b7f52eed6b7805e948999d0f0586d5fc9d2304 (patch) | |
| tree | 0d309a5f77150c9120c0fcedb51bd50889d7387c | |
| parent | i think one more (diff) | |
| download | cst116-lab1-hill-01b7f52eed6b7805e948999d0f0586d5fc9d2304.tar.xz cst116-lab1-hill-01b7f52eed6b7805e948999d0f0586d5fc9d2304.zip | |
finished
| -rw-r--r-- | BlankConsoleLab/CST116-Lab1-Hill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BlankConsoleLab/CST116-Lab1-Hill.cpp b/BlankConsoleLab/CST116-Lab1-Hill.cpp index dbd9286..0f07f62 100644 --- a/BlankConsoleLab/CST116-Lab1-Hill.cpp +++ b/BlankConsoleLab/CST116-Lab1-Hill.cpp @@ -32,7 +32,7 @@ int main() cout << endl << "The dimensions of your kite are " << width << "cm by " << length << "cm." << endl; - double area = (width * length) / 10000.0 + double area = (width * length) / 10000.0; float aspectRatio = width / length; cout << "The area is " << area << " square meters." << endl; |