From 1bd02957ab265c1042a0456d60558d3f12b5490a Mon Sep 17 00:00:00 2001 From: twsta Date: Tue, 11 Oct 2022 19:08:48 -0700 Subject: added meter to centimeter calculation --- BlankConsoleLab/BlankConsoleLab.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 70fb5fc..b079311 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -16,6 +16,7 @@ int main() cout << "Width: " << width << endl; cout << "Height: " << height << endl; - area = (width * height) / 2 + area = (width * height) / 2; + area = area / 10000; } -- cgit v1.2.3