At first write down three messages in your program, then use if-branches to randomly select one (of course, for this you will need to generate some random number).