EXAMPLE: This applet is an approximation of what the student will be expected to create. Inspect the code and make sure you understand how the substring method works, what value gets returned by the length property, how the modulus operator works, and how the for-loop works. |