Marcos Casado550 Points
Bummer! Make sure that you use the `firstName` variable as the second argument
// I have setup a java.io.Console object for you named console String firstName = "Marcos" ; console.printf("<%s> can code in Java", firstName) ;
Hi there! While it's generally great to take these challenges very literally, you went a little above and beyond here. They don't actually mean to print out the angle brackets. Your code will print out "<Marcos> can code in Java", but they want it to print out simply "Marcos can code in Java".
Hope this helps!
Fadi Chehade239 Points
I fixed it by Typing this: // I have setup a java.io.Console object for you named console String firstName = "Fadi" ; console.printf("%s can code in Java!", firstName) ;
Important: you need to type "can code in" in lower case!
Hope it works for you all :)
aoeu aoeuaoeu697 Points
Marcos is right. I tried every other way. Nothing help. Got really frustrated with TeamTree. They should change this. The only way is as Marcos wrote. console.printf(firstName, "%s blah blah" - does not work. firstName + " %s blah" - does not work. I have tried several other ways and nothing worked.) They should at least have hints if as in codeacademy. I got stuck there and close the site. I did not want to come back to treehouse.