From f41b23874d8478ab8a60dee893fed189a2f4d333 Mon Sep 17 00:00:00 2001 From: Joe Traver Date: Tue, 18 Oct 2022 20:20:03 -0700 Subject: Step 3 Complete --- BlankConsoleLab/BlankConsoleLab.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index cbc555d..505dbf4 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -13,6 +13,7 @@ int main() { int height; int width; + int area; cout << "Enter height of kite in cm: "; @@ -26,11 +27,7 @@ int main() cout << "Width = " << width << " cm" << endl; - - - - - + area = (height * width) / 2; } -- cgit v1.2.3