- The SSN must contain 9 digits.
- The SSN must be divided into 3 parts.
- the first part must contain 3 digits, it cannot contain 000 and cannot be between 889 and 1000.
- the second part must contain 2 digits, it should be between 1 and 99.
- the third part must contain 4 digits, it should be between 0001 and 9999.
- The program is executed through a terminal.
- The SSN "980-12-0000" is Invalid.
- git clone https://github.com/manuelusion/SSNValidator.git.
- cd "".
- dotnet run "000-125-8588".
- Result should show "Valid" or "Invalid".