CS 1323 Honors, Fall 1996
Individual Project 7
Due Wednesday, November 13, 4:30pm
What to Hand In
Write a program that initializes a variable to the amount,
in pennies, of a small purchase ($1.00 or less),
computes and assigns to other
variables, the number of quarters, dimes, nickels,
and pennies required in the change returned from a dollar bill
tendered, and prints appropriately labeled reports of the
amount of the purchase and the number of coins of each
denomination returned in change.
The change will include at most three quarters, at most
two dimes, at most one nickel, and at most four pennies.
These amounts must be computed with formulas that
would yield correct results for any purchase amount up to
- Use aspects of C described in Lessons 1-4 of the Winston text.
- Read the
Code of Conduct
for ground rules that apply to all
- The paper you submit must conform to the
C Project Style Guide.