Alex Lee408 Points
help me what did I do wrong...
Please help me I'm stuck ...
// I have imported java.io.Console for you. It is a variable called console. String firstName = console.readLine("Alex"); String lastName = console.readLine("Lee"); console.printf("First name:", %firstName);
As Ben said, you need to put %s on the left side inside of the quotes (next to first name) and then pass the variable into printf as a parameter (without the % in front of it).
Ben Reynolds33,618 Points
The "%" symbol should be "%s" and goes inside the string (before the closing quote mark). The firstName variable will be inserted into the string at the position of %s.