summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/CST116-Lab1-Hill.cpp
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-16 00:22:07 -0700
committertafaar <[email protected]>2022-10-16 00:22:07 -0700
commit19fbc9adff218dfec655ecacea991c463d8aa8ab (patch)
tree62b1ed66160df66b97568c21a2ea175fb1e984e9 /BlankConsoleLab/CST116-Lab1-Hill.cpp
parentadding another commit (diff)
downloadcst116-lab1-hill-19fbc9adff218dfec655ecacea991c463d8aa8ab.tar.xz
cst116-lab1-hill-19fbc9adff218dfec655ecacea991c463d8aa8ab.zip
i think one more
Diffstat (limited to 'BlankConsoleLab/CST116-Lab1-Hill.cpp')
-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;