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

C# C# Basics (Retired) Perform Looping

Justin Molyneaux
Justin Molyneaux
13,329 Points

The C# Basics Looping Quiz Keeps Repeating the Same Question

There is a bug with this quiz, I keep getting the same question "How many times will "I'm cool." be printed to the screen?"

Justin Molyneaux
Justin Molyneaux
13,329 Points

Never mind there is not a bug. I just have to pay more close attention. :).

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Three of the 4 quiz questions start that way. But they change the value of the variables slightly. So each of those three will have a different answer. So at first glance, it may look like the same question... but it isn't. Pay special attention the values of the variables in the expression for the beginning of the loop.

Justin Molyneaux
Justin Molyneaux
13,329 Points

Thank you Jennifer. I went back and retook the quiz. This time I paid attention to detail. I see that it is very important to keep an eagle eye when you're programming.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

You're welcome! Treehouse challenges and quizzes are nothing if not very detail-oriented :)