For each line of input print a single line to standard output which is the change to be returned to the customer. In case the CH < PP, print out ERROR. If CH == PP, print out ZERO. For all other cases print the amount that needs to be returned. Some one please help.

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close