Welcome to the Treehouse Community
Looking to learn something new?
Tristan Colson1,335 Points
not sure what i am doing wrong it just keeps asking me to include the word first name.
// I have imported java.io.Console for you. It is a variable called console. String firstName = console.readLine("what is your name?"); String lastName = console.readLine ("what is your name?"); console.printf("hello my name is %s\n", firstName);
the challenge wants you to do it like this:
display a message that says, "First name: ", followed by the first name
console.printf("First name: %s\n", firstName);