diff options
| author | Tim Pearse <[email protected]> | 2022-10-19 22:10:30 -0700 |
|---|---|---|
| committer | Tim Pearse <[email protected]> | 2022-10-19 22:10:30 -0700 |
| commit | 2f91850c5ce47fe47ff6cc2a9d4d87be24cbe509 (patch) | |
| tree | 7f316c1d09ab06a9ec310146f7fce8e71c62aaeb /BlankConsoleLab | |
| parent | Change 3 : Did everything else (diff) | |
| download | cst116-lab1-legokid1503-2f91850c5ce47fe47ff6cc2a9d4d87be24cbe509.tar.xz cst116-lab1-legokid1503-2f91850c5ce47fe47ff6cc2a9d4d87be24cbe509.zip | |
Change 4 : Now added mass and gravitational pull proper
Diffstat (limited to 'BlankConsoleLab')
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 7a99a05..22d82d3 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -36,5 +36,8 @@ int main() cout << "The length of the kite is " << length << "cm." << endl; cout << "The width of the kite is " << width << "cm." << endl; cout << "The area of the kite is " << area << "m^2." << endl; + cout << "The mass of the kite is " << mass << "kg." << endl; + cout << "The gravitational pull on the kite is " << gravitationalPull << "Newtons" << endl; + } |