Day dreamer
Saturday, November 2, 2019
#14 PRINT SIMPLE INTEREST
DECLARE FUNCTION INTEREST (P,T,R)
CLS
INPUT " ENTER PRINCIPAL";P
INPUT " ENTER INTEREST";I
INPUT "ENTER TIME";T
PRINT "SIMPLE INTEREST";INTEREST(P,T,R)
END
FUNCTION INTEREST (P,T,R)
I=P*T*R/100
INTEREST=I
END FUNCTION
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment