The calculator provided automatically converts the input percentage into a decimal to compute the solution.…