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! While you're at it, check out some resources Treehouse students have shared here.

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

Java

Adam Bell
Adam Bell
1,176 Points

Output a sentence that takes both the noun and past tense verb using a single statement. It should look like this: name

String name = console.readLine("Adam");
String pastTenseVerb = console.readLine("hates");
console.printf("%s really %s this coding exercise.", name, pastTenseVerb);

I've tried so many different things. I don't know what to do.

Hi Adam,

I added markdown to help make your code more readable. Also, I copy / pasted your code into the challenge and it passes all three tasks. Are you still stuck on this?

3 Answers

Adam Bell
Adam Bell
1,176 Points

I fixed it Robert. All this time I was posting a lot more to the page than I should've.

Hey good to hear it's working!

Adam Bell
Adam Bell
1,176 Points

Yes, I am. I've been working on this question for 3 and a half hours.

I've now taken the Multiple Format Strings challenge, with your code, using Windows + Chrome and Linux + Firefox, and your code has worked for me every time.

Try again to copy the code above and if it continues to fail, the only help I can offer is to contact support. They're really nice and often fast with a response (within 24 hours usually).

In the meantime, you can skip challenges at any time. There are a couple gray arrow buttons that can navigate you to the previous or next lesson.

Hope this helps,

Cheers

Adam Bell
Adam Bell
1,176 Points

Okay, thanks Robert.