I'm new in the community and I'm learning C#. I try to write a program and faced with the problem below. I tried to find the answer in Google and here but no luck yet. When I choice "Y" I'm getting the error.
I attached the code and screenshot, please help if you can, thank you!
using System;
namespace YourAge
{
internal class Age
{
public static void Main()
{
DateTime newDataTime = DateTime.Now;
Console.WriteLine("So, today is " + "{0}", newDataTime);
Console.Write("Do you smoke a cigarettes? Y/N: ");
char Y = (char)Console.Read();
if (Char.IsUpper(Y))
{
Console.Write("How many cigarettes do you smoke in the day?: ");
int cigTotal = Convert.ToInt16(Console.ReadLine());
//cost of one cigarettes
float costOneCig = 0.3F;
float sumTotal = cigTotal * costOneCig;
Console.WriteLine("You are losing every day:{0:C2}", sumTotal);
}
else
//coming soon
Console.ReadKey();
}
}
}
This is the exception thrown:

... smoke in the day?question's answer?Do you smoke a cigarettes?is an upper case character and not whether or not it is aYorNConsole.Write("Do you smoke a cigarettes? Y/N: ");-> if Y (Yes) ->next questionConsole.Write("How many cigarettes do you smoke in the day?: "); int cigTotal = Convert.ToInt16(Y);it means how many a person smokes cigarettes a day.