Skip to content
← Back to Community
Simple interest
Profile icon
Usman24

echo " Enter the principle value: "
read p
echo " Enter the rate of interest:"
read r
echo " Enter the time period:"
read t
s=expr $p \* $t \* $r / 100
echo " The simple interest is "
echo $s

Voters
Profile icon
ANSHPOOJARY
Profile icon
Usman24