Blank space code?

Got a quick question. I have a test tomorrow and on the study guide there is a question about blank spaces. Would someone enlighten me or direct me on the right path?

Here is the question:
Write the code that will read character inputs from the user until a black (a space) is entered. Print how many characters were entered. Keep in mind the user may decide to enter a black as his first character.

Thanks.
What is your problem exactly? How to get these characters?
Edit:

Write the code that will read character inputs from the user until a blank* (a space) is entered. Print how many characters were entered. Keep in mind the user may decide to enter a black as his first character.


Not being a smartbut, but the problem is just what it states. Im really lost with it. I have to create a code that will ignore the first space (like spacebar) and then stop the loop(?) when they enter another space (spacebar).
Topic archived. No new replies allowed.