I\'m a beginner in coding. I was recently working with to create a chatting programme where a user will chat with my computer. Here is a part of the code:
Sy
There is a simpler way.
if (b.contains("good")) { ... } else if (b.contains("bad")) { ... }