public static void Main()
while (goSpeed < 10 || goSpeed > 50)
Console.WriteLine("How fast is the go-kart going (between 10 and 50)?");
goSpeed = Convert.ToInt16(Console.ReadLine());
double breakingDistance = goSpeed/5;
Console.WriteLine("Is the ground wet, yes or no?");
string groundWet = Console.ReadLine();
breakingDistance = breakingDistance*5;
else if (groundWet == "no")
breakingDistance = breakingDistance;
Console.WriteLine("Please enter yes or no only");
Console.WriteLine("Your breaking distance is " + breakingDistance + "km");