// Start of program.. // Count the number of a given word in a message. // Then print the count to stdout. set message = the cat on his bat and the mat. set wordtolookfor = the set count = 0 while message not eof compare each word in message to 'the' if wordtolookfor equals 'the' add 1 to count else go to next word endif endwhile print count to stdout // End of program..