If Jessie has n nickels, d dimes, and q quarters, then:

or

Multiply the second equation by 100:

Multiply the first equation by and add to the above:

Multiply the third by and add to this: or

From the third equation: , and from the first equation: