I'm just getting started in programming, and i'm trying to make a program that would have a " conversation" with the user. The idea is that it uses a set of if-then statements to respond to a person's input, but every time, after the first comment, the program ends. What I need to know is how to make the program respond to the person's response.
ex:
Command Promp: Hi, I'm the computer. What's your name?
Person: Ted or BIll
(if ted, the computer says "Hey, I had a broter named ted.
If Bill, the computer says "Bill, like the old president?")
The problem is, that here, I don't know how to let the person respond to the computer's statement.