using System;
public class Program
{
public static void Main()
// ask for a string from the user
Console.WriteLine("Enter a string");
string choice = Console.ReadLine();
// handle the different cases
switch(choice)
case "Y" :
Console.WriteLine("Yes");
break;
case "M" :
Console.WriteLine("Maybe");
case "N" :
Console.WriteLine("No");
default:
Console.WriteLine("Invalid response");
}