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 Answers
+ 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