The hardest problem posed was the C# function I had to write. Write a function that accepts a character parameter such as "8" and then returns its digit value which would be 8 in this case. You cannot use any helper functions, casting or conversion functions. int ParseCharToInt(char c)
Sigiloso
int GetDigitFromInput(char input){if (('9' - input) < 0)return -1;// or throw new Exception("Numeric Char Only"); return input - '0';}