This is a very simple discount calculator that takes two parameters that is originalRate and discountedPercentage to calculated the discounted rate.

originalRate: This takes the original rate of any product/services.
discountedPercentage: This takes the percent of discount being offered. 