6. Write the output of the given program
CLS
N= 1
FOR J = 1 TO 5
PRINT N
N = 10*N+1
NEXTJ
END
Answers
Answered by
0
SLC 2065 S]
DECLARE FUNCTION Interest (p,t,r)
CLS
LET p = 30
LET t = 40
LET r = 6
LET d = Interest (p, t, r)
PRINT “The simple interest will be”; d
END
FUNCTION Interest (p, t, r)
answer= (p*t*r) /100
Interest=answer
END FUNCTION
Output:
The simple interest will be 72
Similar questions