using System;
namespace SummerOutfit_If_
{
internal class Program
{
static void Main(string[] args)
{
int degrees = int.Parse(Console.ReadLine());
string dayTime = Console.ReadLine();
string outfit;
string shoes;
if (dayTime == "Morning")
{
if (degrees >= 10 && degrees <= 18)
{
outfit = "Sweatshirt";
shoes = "Sneakers";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
else if (degrees > 18 && degrees <= 24)
{
outfit = "Shirt";
shoes = "Moccasins";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
else if (degrees >= 25)
{
outfit = "T-Shirt";
shoes = "Sandals";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
}
else if (dayTime == "Afternoon")
{
if (degrees >= 10 && degrees <= 18)
{
outfit = "Shirt";
shoes = "Moccasins";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
else if (degrees > 18 && degrees <= 24)
{
outfit = "T-Shirt";
shoes = "Sandals";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
else if (degrees >= 25)
{
outfit = "Swim Suit";
shoes = "Barefoot";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
}
else if (dayTime == "Evening")
{
if (degrees >= 10 && degrees <= 18)
{
outfit = "Shirt";
shoes = "Moccasins";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
else if (degrees > 18 && degrees <= 24)
{
outfit = "Shirt";
shoes = "Moccasins";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
else if (degrees >= 25)
{
outfit = "Shirt";
shoes = "Moccasins";
Console.WriteLine($"It's {degrees} degrees, get your {outfit} and " +
$"{shoes}.");
}
}
}
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)