using System.Collections.Generic;
using System.Threading.Tasks;
static void Main(string[] args)
Console.WriteLine("Wat is de temeratuur?");
int temperatuur = Convert.ToInt32(Console.ReadLine());
if (temperatuur >= -30 && temperatuur < -20)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");
if (temperatuur >= -20 && temperatuur < -10)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");
if (temperatuur >= -10 && temperatuur < 0)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.BackgroundColor = ConsoleColor.Cyan;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");
if (temperatuur >= 0 && temperatuur < 10)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.BackgroundColor = ConsoleColor.Cyan;
Console.BackgroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");
if (temperatuur >= 10 && temperatuur < 20)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.BackgroundColor = ConsoleColor.Cyan;
Console.BackgroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.Yellow;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");
if (temperatuur >= 20 && temperatuur < 30)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.BackgroundColor = ConsoleColor.Cyan;
Console.BackgroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.Yellow;
Console.BackgroundColor = ConsoleColor.Red;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");
if (temperatuur >= 30 && temperatuur <= 50)
Console.BackgroundColor = ConsoleColor.Magenta;
Console.BackgroundColor = ConsoleColor.DarkGray;
Console.BackgroundColor = ConsoleColor.Cyan;
Console.BackgroundColor = ConsoleColor.Blue;
Console.BackgroundColor = ConsoleColor.Yellow;
Console.BackgroundColor = ConsoleColor.Red;
Console.BackgroundColor = ConsoleColor.DarkRed;
Console.BackgroundColor = ConsoleColor.White;
Console.WriteLine("-30 -20 -10 0 10 20 30 50");