星期日, 4月 17, 2005

5/13 Lab

1. For Display 4.9,

1.1
in overloaded setDate()
replace monthInt with month,
replace monthString with month,

and then make necessary code changes so that the program still runs correctly.


1.2
in overloaded dateOK()
replace monthInt with month,
replace monthString with month,

replace dayInt with day,
replace yearInt with year,

and then make necessary code changes so that the program still runs correctly.

1.3
in readLinput()
replace dayInput with day,
replace monthInput with month,
replace yearInput with year,

and then make necessary code changes so that the program still runs correctly.

1.4
in setMonth()
replace monthNumber with month,

and then make necessary code changes so that the program still runs correctly.

1.5
in monthString(),
replace monthNumber with month,

and then make necessary code changes so that the program still runs correctly.