Python program to find True Discount and Present worth when amount, Rate of interest, and time are given.
True Discount can be obtained by deducting present worth from the amount. Basically, True discount can be explained as the interest which is applied to the present worth. In this program amount, rate of interest, number of years are given as input. Since the rate of interest value can be in decimal we get it as a float value.Using the formula PW=(100*amount)/(100+(rate*time)) present worth is calculated. Please ensure that you have not given any negative values for amount, rate, and time.
Submitted by Tharunkumar C (tharun2k1)
Download packets of source code on Coders Packet