if (Math.Pow(10, 9) >= C && C > 0) Console.WriteLine("valid"); else Console.WriteLine("Invalid");
The calculator is wrong... its 21