Remember to handle newlines after fgets
Mention line in the malformed msg
scanf fix