Counting Money

Var value = "$1.22 = $122"; var penny = ".1" var nickel = ".5" var dime =".10" var quarter=".25" var total = $122;


var total = quarter + quarter + quarter + nickel + dime + dime + dime + dime + penny + penny;


var total= quarter + quarter + dime + dime + dime + dime + dime + nickel + nickel + nickel + nickel + penny + penny;


var total= quarter + quarter + quarter + quarter + dime + nickel + nickel + penny + penny;


"quarter + quarter + quarter + quarter + dime + dime + penny + penny"