C Homework Assignment:
Compute the cost per hour for COP 1220

Design and write a complete C program including adequate comments to compute the cost in US dollars per hour of our C programming class (COP 1220).  The program needs no input, just output.  Don't worry about rounding the answer to two decimal places.  By default C prints six decimal places for floating point output.  For this program the default output is fine.

Use the information in the table below to compute the cost (Assume no other fees apply):

Number of Classes13
Hours per Class3
Number of Credits3
Cost per Credit$50.00
Cost for Textbook$22.75

Send comments and mail to pollock@acm.org.