using System;
public class Program
{
public static void Main()
/*
5. Write a program to prompt the user to enter a single character. The program should display a message like “Your response was y”. For this question, you must use a variable of type char.
*/
Console.WriteLine("Please enter a response:"); //Prompting user for input
string uInput = Console.ReadLine().Substring(0,1); //Taking the first character of user input so that the program doesn't crash on a multi-char input.
char uFirst = Convert.ToChar(uInput); //Processing input
Console.WriteLine("Your response was: " + uFirst);
}