Hello, I’m working on this task:
Write a program that outputs numbers 5…1 ending with “Go!”. Start each on a new line.
Here is my code:
public static class ReprogramDroids
{
public static void Main()
{
// Write your code under this line
Console.WriteLine(5);
Console.WriteLine(4);
Console.WriteLine(3);
Console.WriteLine(2);
Console.WriteLine(1);
Console.WriteLine(Go!);
}
}
Can anyone please help me to solve it?