2008年3月24日 星期一

2008年3月23日 星期日

Homework 3-17-2008

Project 1 of Chap. 2
Project 3 of Chap. 2


Lab Keyboard input


2008年3月17日 星期一

2008年3月16日 星期日

Homework 3-10-2008: String Processing


Do Project 5 of Chap. 1 on Page 56.Write a program that starts with a line of text and then outputs that line of text with the first occurrence of "hate" changed to "love". For example, a possible sample output might beThe line of text to be changed is:I hate you.I have rephrased that line to read:I love you.Hint: You may consider use the methods: indexOf(A_String) and substring(Start, End) in your program.


2008年3月3日 星期一