Search This Blog

Tuesday, October 22, 2019

Program to print simple interest using FUNCTION

DECLARE FUNCTION SIMPLE(P,T,R)
CLS
INPUT"ENTER PRINCIPLE";P
INPUT"ENTER TIME"T
INPUT"ENTER RATE";R
PRINT"Simple Interest=";SIMPLE(P,T,R)
END

FUNCTION SIMPLE(P,T,R)
S=(P*T*R)/100
SIMPLE=S
END FUNCTION

No comments:

Post a Comment

My journy with Jagat Mandir

10 years of journy with JM it was the most important day of my life i spend my 10 years with this school . I am so happy that i could spend...