so the sample code of what I've done is here:
char regular = 'r';
char premium = 'p';
Console.WriteLine("Please enter your service (r or p:");
I am trying to get the user to input either r or p for the service they are have, but I don't know what to put under the "Console.WriteLine" to make it work with the char data types I entered. How do I fix this?
Also, specifically for the entering your service, it has to be in char, so says the problem that I'm working on.
edit*: I have tried using something like...
Console.Writeline("Please enter your service(r or p):")'
r= Convert.ToInt32(Console.ReadLine());
but because it's in char, I have a problem, I'm just not fully sure how to implement this in a way where I can get the user to type r or p
Thanks!