This content has been marked as final. Show 7 replies
flybLack wrote:What is your thesis on? Getting others to do your work for you? Then you will probably have better luck somewhere like www.rentacoder.com.
who knows some algorithm for automated money changer?? i need it badly for my title thesis
here's my add firstname.lastname@example.org
who knows some algorithm for automated money changer?? i need it badly for my title thesis !!!tnx pls reply asap!!No dukes? I only work for dukes.
no i need example only tnx
flybLack wrote:If you buy something that costs 123.23 and you play with 200 the change is 76.77, which breaks down as
i need example only tnx
one 50 note, left 26.77,
one 25 note, left 1.77,
one 1 coin, left 0.77,
one 50 cent coin, left 27,
one 25 cent coin, left 2,
two 1 cent coins.
Create an array with all of the denominations of money you have available to you in decreasing order, then use a for loop to go through them. For each denomination, subtract its value from the total you currently have, keeping track of the number of times you did so. When you cannot subtract again without making your total go negative, move on to the next denomination. Stop once your total reaches 0.
No link sigs, please.
!!!tnx pls reply asap!!http://www.catb.org/~esr/faqs/smart-questions.html#writewell
How To Ask Questions The Smart Way
Eric Steven Raymond
Write in clear, grammatical, correctly-spelled language
We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.