Hello All,
I am taking an AP Computer Science course and I am very confused about one particular question on a quiz. Can somebody please explain why the answer is 32? Thank you so much for your time.
Question
Put a number in the blank so that this coding counts the number of tabs, blanks, newlines, form feeds, and other special characters in the first 10 characters of a String named s.
for (int k = 0; k < 10 ; k++)
if ((int) s.charAt (k) <= ________________ )
count++;
Answer 32