Thanks, that got the job done!
Here's the code so far; it works, but it probably needs some cleaning.
The prompt asks you to type a question. q prints "have a nice day" in Dutch (when I first tried the do... while, typing q printed a random prediction before quitting, so I added an if...else to replace it with something more proper).
EDIT: sorry, broke the formatting there.