How do you use pseudocode to write an algorithm for Java? The algorithm will result in a message that is created from five words.
The algorithm will first create five Arrays. Each Array stores a list of words.
The algorithm will generate a random number that will be used as an index into each Array. The algorithm will use this index to select one word from each of the five Arrays to form a message.
The algorithm should be a series of steps that if executed in Java would yield the intended results or behavior.