Here is my sample code
int sinNum;
string sin;
Console.Write("\nPlease enter a SIN Number: ");
sin = Console.ReadLine();
if (isInt && sin.Length == 9)
{
int secondDigit = (sin / 10000000) % 10;
This int seconddigit
is where I am get an error:
Operator '/' cannot be applied to operands of type 'string' and 'int'