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 trialMaclane Nugent
1,098 PointsNeed Help
int i = 0; ______ ( i ) { _____ 0 : break; } it says to complete the switch statement. i thought the first blank should be "switch" and "case" but its wrong and i have no clue what it is :(
3 Answers
Stone Preston
42,016 Pointsthats correct. the blanks should be filled in as follows:
int i = 0; switch( i ) { case 0 : break; }
no quotes around the words either. I just took the quiz and got the correct answer using switch and case
Maclane Nugent
1,098 Pointsthank you very much on that... the only one else i need help is on chaining multiple if statements
Stone Preston
42,016 Pointshere is a hint: you need to use else if
Maclane Nugent
1,098 Pointsthanks alot man