Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Justin Townsend4,720 Points
Java need help
I know I am close but not quite getting my hands on it
// I've imported java.io.Console for you. It is stored in a variable called console for you. String name = console.readLine("Enter your name: Justin"); String pastTenseVerb = console.readLine("run: "); console.printf("*name* %s really can %s *pastTenseVerb*", name, pastTenseVerb);
Steven Parker225,728 Points
You are very close indeed! But the instructions say your final output "... should look like this:
*name* really *past tense verb* this coding exercise."
So by putting the variable names between asterisks, they are showing you where the tokens (that you already have) should go. Don't actually include those names and asterisks in the template string. Also be sure the rest of the string contains the actual words shown in the instructions.