summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/CST116-Lab1-Hill.cpp
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-16 00:21:40 -0700
committertafaar <[email protected]>2022-10-16 00:21:40 -0700
commit261b490214ad06b0101f3f4073b1c169a190571a (patch)
tree62b1ed66160df66b97568c21a2ea175fb1e984e9 /BlankConsoleLab/CST116-Lab1-Hill.cpp
parentsome formatting, added the flowchart. finished (diff)
downloadcst116-lab1-hill-261b490214ad06b0101f3f4073b1c169a190571a.tar.xz
cst116-lab1-hill-261b490214ad06b0101f3f4073b1c169a190571a.zip
commit
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;