diff options
| author | WilliamBishopCST116 <[email protected]> | 2022-10-17 14:57:32 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-17 14:57:32 -0700 |
| commit | 8bebf11df764ef277e2648e2512f8430bfe5d28e (patch) | |
| tree | d7d3135e2c5acc96dbb4aae8283df9775b61dc2b | |
| parent | Add files via upload (diff) | |
| download | cst116-lab1-williambishopcst116-8bebf11df764ef277e2648e2512f8430bfe5d28e.tar.xz cst116-lab1-williambishopcst116-8bebf11df764ef277e2648e2512f8430bfe5d28e.zip | |
Update CST116-Lab1-Bishop-Submission11.cpp
| -rw-r--r-- | CST116-Lab1-Bishop-Submission11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Lab1-Bishop-Submission11.cpp b/CST116-Lab1-Bishop-Submission11.cpp index eabbe37..cdc3583 100644 --- a/CST116-Lab1-Bishop-Submission11.cpp +++ b/CST116-Lab1-Bishop-Submission11.cpp @@ -30,7 +30,7 @@ int main() cout << "Our width and the height is: " << horizontal_kitew << "and " << vertical_kitel << endl; int areaofkite; - areaofkite = (horizontal_kitew * vertical_kitel) / 2; + areaofkite = (horizontal_kitew * vertical_kitel) ; cout << "The area of the kite is " << areaofkite; float Area_of_kiteM; Area_of_kiteM = areaofkite / 10000; |