diff options
| author | tafaar <[email protected]> | 2022-10-16 00:21:40 -0700 |
|---|---|---|
| committer | tafaar <[email protected]> | 2022-10-16 00:21:40 -0700 |
| commit | 261b490214ad06b0101f3f4073b1c169a190571a (patch) | |
| tree | 62b1ed66160df66b97568c21a2ea175fb1e984e9 /BlankConsoleLab/CST116-Lab1-Hill.cpp | |
| parent | some formatting, added the flowchart. finished (diff) | |
| download | cst116-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.cpp | 2 |
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; |