private const int HIGHEST_WARM_TEMP_VALUE = 35;
private const int MODERATE_WARM_TEMP_VALUE = 25;
private const int RELATIVE_WARM_TEMP_VALUE = 15;
private const int ZERO_WARM_TEMP_VALUE = 0;
private const int RELATIVE_COLD_TEMP_VALUE = -10;
private static int _currentTempValue = 0;
private static string _output = string.Empty;
public static void Main(string[] args)
static void UserTemperatureInput ()
Console.WriteLine("Write temperature degrees:");
string playerInput = Console.ReadLine();
_currentTempValue = Convert.ToInt32(playerInput);
static void WeatherValueVariants()
if (_currentTempValue >=HIGHEST_WARM_TEMP_VALUE)
_output = $"If temperature {_currentTempValue} - It is too hot, stay at home";
else if (_currentTempValue >=HIGHEST_WARM_TEMP_VALUE && _currentTempValue < MODERATE_WARM_TEMP_VALUE)
_output = $"If temperature {_currentTempValue} - The weather is so warm, take your T-shirt";
else if (_currentTempValue >= MODERATE_WARM_TEMP_VALUE && _currentTempValue < RELATIVE_WARM_TEMP_VALUE )
_output = $"If temperature {_currentTempValue} - Go for a walk and take your jeans and jacket";
else if (_currentTempValue >=RELATIVE_WARM_TEMP_VALUE && _currentTempValue < ZERO_WARM_TEMP_VALUE)
_output = $"If temperature {_currentTempValue} - The weather is good, but take your sweater";
else if (_currentTempValue >=RELATIVE_WARM_TEMP_VALUE && _currentTempValue < ZERO_WARM_TEMP_VALUE)
_output = $"If temperature {_currentTempValue} - The weather is reaaly cold, take your coat";
_output = $"If temperature {_currentTempValue} - It is too cold, stay at home";
static void FinalResultExit ()
Console.WriteLine (_output);