To find simple interest for a given principle, time and rate of interest. (Qbasic)

To find simple interest for a given principle, time and rate of interest. (Qbasic)
CLS
INPUT "Enter the principle amount"; p
INPUT "Enter the time"; t
INPUT "Enter the rate"; r
i = (p * t * r) / 100
PRINT "The simple interest is"; i
END

Share :

Twitter
Back To Top

facebook main

counter

Powered by Blogger.