summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-16 00:21:53 -0700
committertafaar <[email protected]>2022-10-16 00:21:53 -0700
commit80da7511da4bd4c362f5f809000669acdee52bd8 (patch)
tree62b1ed66160df66b97568c21a2ea175fb1e984e9
parentadding commits (diff)
downloadcst116-lab1-hill-80da7511da4bd4c362f5f809000669acdee52bd8.tar.xz
cst116-lab1-hill-80da7511da4bd4c362f5f809000669acdee52bd8.zip
another one
-rw-r--r--BlankConsoleLab/CST116-Lab1-Hill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/BlankConsoleLab/CST116-Lab1-Hill.cpp b/BlankConsoleLab/CST116-Lab1-Hill.cpp
index 0f07f62..dbd9286 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;