As you see the program only took one word as an input while I asked precisely for 2 inputs.
This is the result donner le nombre de mots 2 saisir le mot saisir le mot