How far have you got and where are you stuck?
Can you create a program as a start that just displays individual words?
After that you can count the number of consonants in each word and store (a) the number if it's the largest so far and (b) the word itself.
At the end just display the word that you stored before.

Possible algorithm:
count=0; word=""
for each word
consonant count > count? yes: assign count and word
end for
display word.