diff options
| author | tafaar <[email protected]> | 2022-10-16 00:22:00 -0700 |
|---|---|---|
| committer | tafaar <[email protected]> | 2022-10-16 00:22:00 -0700 |
| commit | bd196e79b8cd5d2c7ef582854abf6babc6379def (patch) | |
| tree | 0d309a5f77150c9120c0fcedb51bd50889d7387c | |
| parent | another one (diff) | |
| download | cst116-lab1-hill-bd196e79b8cd5d2c7ef582854abf6babc6379def.tar.xz cst116-lab1-hill-bd196e79b8cd5d2c7ef582854abf6babc6379def.zip | |
adding another commit
| -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; |