Please help me with the task: Weather matching cloth.

Hello, I’m working on this task:

Write a program that asks the user “What is the temperature outside in celsius?” The program then should read the temperature from the console. If it is less than 5, output to the console “Wear a coat”. Otherwise, output “Wear a jacket”.

Here is my code:


using System;

namespace Booleans
{
   public class WeatherMatchingCloth
   {
       public static void Main(string[] args)
       {
           Console.WriteLine("What is the temperature outside in celsius ?");
           int temperature=int.Parse(Console.ReadLine());

           if (temperature < 5 ) { Console.WriteLine("Wear a coat"); }
           else { Console.WriteLine("Wear a jacket"); }
       }
   }
}

Can anyone please help me to solve it?