Quote:
Originally Posted by Amelia yea :
I have a collection of nickels, dimes, and quarters
in a money bag worth $7.95. If the number of
quarters is one more than the number of nickels
and the number of dimes is five more than the number
of nickels, find the number of each type of coin.
# Nickels ________
# Dimes_________¬
# Quarters________
nickels are worth .5
dimes are worth .10
quarters are worth .25
a dollare is 1.00 |
Either the question has a fault, or I made a very stupid mistake in my calculations. The latter being very likely.
You have the idea though, that should carry you through.
__________________
If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. - Linus Torvalds
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.