CS 1713 Introduction to Computer Science, Fall 2008 Exam 1 Comments
The exam average was 71.
If you got below 50, please see me.
- Be careful with integer division
- Remember that the first position in a String is position 0.
- Most had no problem with this one.
- The total price is the price per pound times the number of pounds.
- a) This was taken directly from the recitation
b) Be sure to prompt before reading in.
- For part b) you need to handle the fence post problem.
Be sure that your solution works for an empty array.
- We did this one in class.
- You need to declare each of the variables.
- Rememebr that the last character is at index s.length() -1.
- No arrows in this diagram.
- Three variables, two arrays.