Homework #5

Due Thursday, May 21, 11:59 PM

The file should not be written to after the due date.

My friend Beavis and I have jobs at Burger World. Just yesterday, Beavis poured cooking oil in the cash register and it stopped working. Uhhhhh-huh-huh-huh. That was cool. We have this old computer that has a C compiler in it, but we don't know how to use it. We were wondering if you could write a makeshift cash register to temporarily replace our broken register.

Here are the requirements:

An example interactive screen could look like the following, but could have more features if you prefer. This is really an exercise on loops.

(items in blue are entered by the user)

Back to Grading & Homeworks Page