From b20f6b3c9537d7089c64ce56c75f72a0e39d74af Mon Sep 17 00:00:00 2001 From: tafaar Date: Tue, 8 Nov 2022 18:08:56 -0800 Subject: Cleaned up variable declaration --- BlankConsoleLab/BlankConsoleLab.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index ed4bbe7..8221ee7 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -12,7 +12,11 @@ float tempCelsius, windCelsius; float tempFahrenheit, windFahrenheit; float windSpeed; -const float minF = -80.0, maxF = 121.0, minC = -62.0, maxC = 49.5, minW = 0, maxW = 231; +// Constants for the range of acceptable temperatures and wind speed. + +const float minF = -80.0, maxF = 121.0; +const float minC = -62.0, maxC = 49.5; +const float minW = 0, maxW = 231; float ConvertTemperature(float temperature, char initialSystem) { -- cgit v1.2.3