summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-16 00:21:46 -0700
committertafaar <[email protected]>2022-10-16 00:21:46 -0700
commitf97ba8f748734dd3470026de5cd428132a936aeb (patch)
tree0d309a5f77150c9120c0fcedb51bd50889d7387c
parentcommit (diff)
downloadcst116-lab1-hill-f97ba8f748734dd3470026de5cd428132a936aeb.tar.xz
cst116-lab1-hill-f97ba8f748734dd3470026de5cd428132a936aeb.zip
adding commits
-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 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;