Welcome to the Treehouse Community
Looking to learn something new?
Output a sentence that takes both the name and past tense verb using a single statement. It should look like this: name
really past tense verb this coding exercise
string name = console.readLine ( "Enter pastTenseVerb; ");
George Pirchalaishvili3,747 Points
Well if I understand you correctly, you need something like this:
String name = console.readLine ( "Enter name: "); String verb = console.readLine ( "Enter past tense verb: "); console.printf(" My name is %s, I am %s", name, verb);