used string no number and used method fgets