public static string answerYorN (string y, string n)
bool validAnswer = false;
Console.WriteLine(" please enter y or n: ");
if (response == y; response ==n)
public static void Main()
Console.WriteLine(" Is the weather nice? ");
response = Console.WriteLine;