CS201 – Spring 2001
Prof. Hartman
Homework #5
Due Friday, February 21st
by 5:00 pm
Remember that all programs must follow the guidelines from handout #3.
1)
Do problem 11 on page 222 of your text. (Note: After problem
11, problem 12 starts without a number. Your question deals with the area of a
triangle – you can ignore the stuff about wind-chill factor.)
2)
Do problem 5 on page 301 of your text.
3)
Do problem 7 on page 301 of your text. Have your
program allow the user to enter the filenames of the files to compare. Test
your program comparing input1.dat to input2.dat, input2.dat to input3.dat, and input3.dat to input1.dat, and print out your output file in each case.