Cash Register

From CompSciWiki
Revision as of 09:53, 8 April 2010 by EdwinA (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to the Program-A-Day homepage

Problem

We need an adding machine! Your goal: Allow the cashier to enter prices. When done with one customer, entering a blank number prints the total the customer owes. Typing 'done' will exit the program.

 

Getting Started

Wiki loops01.jpg

Solution

The solution...

Code

SolutionCode goes here. Please DO NOT put your code in <pre> tags!

Back to the Program-A-Day homepage