0

How to make a chat bot?

Hello! How to write that after the user entered "Hello", the program answered "Hi". I tried to assign input to a variable but it returned an error. Maybe who knows?

19th Nov 2021, 6:29 PM
Алина
Алина - avatar
3 odpowiedzi
+ 4
Without seeing your code, we can't know, what's wrong... ⭐Link your code⭐ also, please ⭐tag the relevant programming language⭐
19th Nov 2021, 7:09 PM
Lisa
Lisa - avatar
+ 2
If you are using java, JavaScript or python, then you can try to apply switch case or statement.
19th Nov 2021, 11:01 PM
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika)
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika) - avatar
+ 1
Show your code
19th Nov 2021, 7:09 PM
Jairo Soto
Jairo Soto - avatar