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 trialName:GoogleSearch orJonathan Sum
5,039 PointsWhy is there a \n\n?
console.printf("That language is not allowed. Exiting. \n\n"); Why is there a \n\n?
Name:GoogleSearch orJonathan Sum
5,039 Pointsthx Kristian Egebæk-Carlsen I am sure that i am a stupied.
2 Answers
tyrell tucker
510 PointsYour not stupid Jonathan Sum because I needed the answer to that same question and i'm sure many more did aswell mate! ;)
Learning coding
Front End Web Development Techdegree Student 9,937 PointsI didn't needed this answer, but I learned from it :)
Kristian Egebæk-Carlsen
9,189 PointsKristian Egebæk-Carlsen
9,189 Points\n is a newline in the printing environment. So if there are 2 of them, the output would be:
That language is not allowed. Exiting.
'Another printed text'