/**
 * @file TreeStory.java
 * @author Valery Samovich
 * @version 1
 * @date 2015/05/11
 */

package com.samovich.basics.concepts.strings.treehouse;

import java.io.Console;
import java.util.Scanner;

public class TreeStory {

    public static void main(String[] args) {

        // Console console = System.console();
        // String name = console.readLine("Enter your name: ");
        // String adjective = console.readLine("Enter an adjective: ");
        // console.printf("%s is very %s", name, adjective);

        Scanner scanner = new Scanner(System.in);
        System.out.println("Enter your name: ");
        String name = scanner.nextLine();
        System.out.println("Enter an adjective: ");
        String adjective = scanner.nextLine();
        System.out.println(name + " is very " + adjective + "!");
    }
}

@@ -817,16 +817,609 @@
  + %22!%22);
+%0A%0A        // __Name is a __adjective__ __noun__.%0A        // They are always __adverb__ __verb__.%0A        String name = console.readLine(%22Enter a name:  %22);%0A        String adjective = console.readLine(%22Enter an adjective:  %22);%0A        String noun = console.readLine(%22Enter a noun:  %22);%0A        String adverb = console.readLine(%22Enter an adverb:  %22);%0A        String verb = console.readLine(%22Enter a verb ending with -ing:  %22);%0A        console.printf(%22Your TreeStory:%5Cn----------------%5Cn%22);%0A        console.printf(%22%25s is a $s %25s%22, name, adjective, noun);%0A        conosle.printf(%22They are always%22)
 %0A    %7D%0A%7D

Update Multiple Strings Example for Console and Scanner prototype