From 8bebf11df764ef277e2648e2512f8430bfe5d28e Mon Sep 17 00:00:00 2001 From: WilliamBishopCST116 <114703314+WilliamBishopCST116@users.noreply.github.com> Date: Mon, 17 Oct 2022 14:57:32 -0700 Subject: Update CST116-Lab1-Bishop-Submission11.cpp --- CST116-Lab1-Bishop-Submission11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CST116-Lab1-Bishop-Submission11.cpp') 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; -- cgit v1.2.3