EE: Introduction to Computers (I)

Homework 3, Due 11/11

1. Page 55, Exercise 2.30. (20%)

2. Page 55, Exercise 2.31. (20%)

3. Write a program that inputs three integers as the sizes of the three sides in a triangle, determine this triangle is acute, right-angle, obtuse, or not a triangle, and output the result.    (30%)

4. Write a program that inputs an amount of money, decide how many 50, 10, 5, and 1 dollar coins are used to pay this amount of money using as few coins as possible, and output the result.   (30%)  ¡@