Wednesday, October 2, 2019

14) PRINT SIMPLE INTEREST (FUNCTION)

DECLARE FUNCTION SI (P ,T ,R )
CLS
INPUT "ENTER PRINCIPAL "; P
INPUT "ENTER RATE "; R
INPUT" ENTER TIME ";T
PRINT "SIMPLE INTEREST ";SI (P ,T ,R )
END

FUNCTION SI (P , T ,R )
I= P *T *R/100
SI = I
END FUNCTION

No comments:

Post a Comment

My Journey with JM

MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...