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 trialReed Massie
2,298 PointsProblem with Do While loops quiz
When I hit check work it say that step 1 is now failing. What do i do to fix this?
// I have initialized a java.io.Console for you. It is in a variable named console.
String response;
do{
response = console.readLine("Do you unserstand do while loops?");
}while (response.equals("no"));
2 Answers
Reed Massie
2,298 PointsThanks for taking a look, Tyler. When I hit the recheck work button I get the error "Oops! Looks like task 1 is no longer passing".
Tyler Combs
15,525 PointsLol. I think I see what it is. Check the spelling of "understand".
Reed Massie
2,298 PointsWell.. I feel like an idiot. I was about to throw my computer off a building. Thank you for the help.
Tyler Combs
15,525 PointsDon't sweat it, Reed, its always the small things! Lol good luck as you move on and have fun like I am!
Tyler Combs
15,525 PointsTyler Combs
15,525 PointsHm, Im not quite sure. I just went through the challenge the only thing I did differently from you is type
while (response.equalsIgnoreCase("no"));
Not sure if that will affect the outcome for you though. :/