Write an algorithm to calculate Simple Interest
Write an algorithm to calculate Simple Interest :-
Step 1 : START
Step 2 : Declare variables p , n
, r and
si .
Step 3 : Read the values of variable
p ( principal ) , n ( Number of years ) , r ( Rate of Interest ) .
Step 4 : calculate the values of
“ si = ( p * n * r )/100 “ .
Step 5 : Display si ( simple interest ) .
Step 6 : STOP
an algorithm to calculate Simple Interest |
Comments
Post a Comment