Added a validation check on the first arg to be between 2 and 16 characters in length by using the strlen function.
If the validation fails, the program prints out the following message Username must be between 2 and 16 characters in length and then immediately exits.
Associated Issue
Closes #5
Implemented Solution
Added a validation check on the first arg to be between 2 and 16 characters in length by using the
strlen
function.If the validation fails, the program prints out the following message
Username must be between 2 and 16 characters in length
and then immediately exits.