If you enter more than five characters in the "name" field the function giving wrong output,otherwise if the