View Full Version : Pseudocode
11-12-2004, 04:45 PM
HELP WITH THE FOLLOWING SCENARIO WOULD BE MUCH APPRECIATED...
"produce a routine to calculate the minimum number of coins and notes that would be returned to a purchaser based on the ammount they tendered"
PLEASE can some one help!!!!
11-12-2004, 05:11 PM
Sounds like a class assignment. As a rule, we never do people's class work for them though we will assist them if they have questions about the code they have worked up but can't get it to work properly.
Of course you haven't provided enough information yet to even answer you since you haven't mentioned the kind of currency which means we don't have a clue about which demoninations would be available. After all, this is an international forum and there are a lot of different currencies used around the world.
11-12-2004, 06:07 PM
would be using pound sterling
11-13-2004, 09:48 AM
What language (probably C++) and is this a class assignment?
11-13-2004, 10:16 AM
Find a book about alogorithams, as it covers different apporaches to your porblem and others. It will explain the method for calculating change given.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.