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

JavaScript

Using For loop and nextline(). For user input

  1. I am needed to prompt the user for 3 strings
  2. Return the number of lower case
  3. Get the number of lower case
  4. Compare them
  5. And then the out put should choose 2 of 3 choices while picking which has the highest number of lower case and which has the lowest
Steven Parker
Steven Parker
231,248 Points

You're not asking someone to do your homework, are you? :open_mouth:

But it would help if you show the part of the code you've already written or are starting with. And it's not clear what the reference to "nextline()" is about, since that's not a standard JavaScript function.

It's for extra help yes. I'm not too good at java that's Why I was asking

And thanks a lot guys after a few days I've figured it out

Steven Parker
Steven Parker
231,248 Points

Congratulations. For the benefit of other/future readers, you might want to post your code here (or delete the question entirely).

1 Answer

I'll post it