Fixed problem with variables

fixed currency variables were reversed , and console logged the values
and the final calculation.