Welcome to the Treehouse Community
Looking to learn something new?
[SOLVED] On challenge task 3 of 4 on the input section. They ask to print out the users first name using console.printf
The first 2 questions are for string first name and last name but i cannot do this third question I have gone back to the video but it doesn't explain why I'm getting an error
// I have imported java.io.Console for you. It is a variable called console. String firstName = console.readLine("What is your first name?"); String lastName = console.readLine("What is your last name?"); console.printf = ("My name is Dillon"FirstName);
im dont understand why it givs me this error even when i just copy and paste the code that should be correct ?
Bummer! Ensure your format string contains the required text