How to create case's? | SoloLearn: Learn to code for FREE!

0

How to create case's?

Is there a way to create unlimited case's, for example: If i write "hi", the program respond "hello", then if i write "make line" or something else, the program will create a case acording to what i write. For example: Input: hi Output: hello Input: make line Output: what will triger the output? Input: what is my name? Output: what will i respond with? Input: shan (or some thing else) And then it is saved for every time i use it (until i close the program), and it's not have to be in a spesific language, all are welcome. I hope you could help me, but if there is no way to create lines, please tell me, and thank you for your time.

5/14/2019 1:46:45 PM

rotem 1151

0 Answers

New Answer