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

CAN YOU PLEASE SHOW ME HOW TO GET THE NUMBER OF GRADE AND THE LETTER GRADE USING DO-WHILE LOOP?? LIKE A 100-90.

CAN YOU PLEASE SHOW ME HOW TO GET THE NUMBER OF GRADE AND THE LETTER GRADE USING DO-WHILE LOOP?? LIKE A 100-90, B 89-80, AND SO ON.

There are a lot of different ways to read your question, and none that clearly fit a do-while loop as the best solution. What are the expected inputs and outputs? Convert a number grade to a letter grade? Convert a letter grade to a number grade? Print out a list of number grades from 0-100 and their corresponding letter grade? Please clarify the problem.

Steven Parker
Steven Parker
243,658 Points

If this is for a code challenge, please post a link to the challenge, and make your best good-faith attempt at solving it and post that also.

1 Answer

OP posted new thread here