First if/else

if/else statement used to take a number greater than one for rate and ÷
by 100 to make a decimal.