World’s dumbest chatbot

Try it with emojis 😀

 

public class Test
{
  public static void main(String[] args)
  {
    System.out.println("Hello. How are you?");
    java.util.Scanner cin = new java.util.Scanner(System.in);
    String in = cin.nextLine();
    System.out.println("I feel "+in+" too.");
  }
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s