Evaluated input of rate

Checked user input for empty value, for value containing a dollar sign,
otherwise logged to console the value.