CS201 – Spring 2003
Prof. Hartman
Homework #6
Due Friday, February 28th
by 5:00 pm
Remember that all programs must follow the guidelines from handout #3.
Both of these are fairly complicated programs. Don’t forget to build up your solution bit by bit, using stub functions and drivers. I will have other comments in class next week, to help you where you get stuck.
1) Do problem number 8 on page 379 of your text.
2)
Do problem number 9 on page 379 of your text.
Call your class “Rational”. I will provide a main() program for you to use to
test your class.