Verizon interview question

Login program validation in c language using recursion and functions.