Practice CS 115 Lab Test 2

Up to 25 Bonus Points on Lab Grade (NOT the Lab TEST Grade!)

Below is a problem somewhat like the problems that will be on the actual Lab Test 2. This is INDIVIDUAL work. It must be submitted by Sunday, November 12, midnight to be eligible for points. This problem is simpler than the actual lab test.

Here is the link to submit your work. Last one submitted is the one graded.

Turn the program in even if it does not run. It may be worth a few points.

Put a comment at the top of your program with your name, your section and email address in it. No other documentation is required; you may put more if it helps as you program.


The problem

A function called line_length

Screen shots