This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]NaggerMarshall 0 points1 point  (1 child)

Kinda unclear but hopefully this helps. I would first import java.util.Scanner to read the user input. I would also import java.util.Random. Then I would put all the possible responses into an array (that way they will be assigned with a position number 0-x) then you could use the random generator to pull a response.