Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROMPT: Create a basic chat bot. All input will come from the command line. If the user entered nothing at the command line, show Nothing

PROMPT:

Create a basic chat bot. All input will come from the command line.

If the user entered nothing at the command line, show Nothing to say?

If the user entered some variation of how are you today? show Fine, but could use some more power. As long as the input has the word "are" before the word "you", print this message. Make your program smart enough to accept variations of these words (see output).

If the user entered some variation of what is your favorite something? Display something? I'm only interested in transistors.

In all other cases, show I didn't understand that.

Problem:

not too sure where to start in cretaing this program in JAVA

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions