Should i need to use scanf to store sentence or fgets. And how to count number of each unique words that user have entered.I have tried using fgets and compiler throw an err