Answer No : 15 :
<html>
<head>
<title>Lionet</title><html>
</head>

<body>

<h1>Simple Interest Calculator</h1>

Amount: <input type="text" id="p"><br>

Rate Of Interest: <input type="text" id="r"><br>

Time (in Years) : <input type="text"id="t"><br>

<button type="button" onclick="cal()">Calculate</button>  
	  
<script>

function cal()

{

var p = document.getElementById("p").value;

var  r = document.getElementById("r").value;

var n = document.getElementById("t").value;   

alert("Simple interest of principal amount = " + (p*n*r/100));

}

</script>

</body>

</html>
Output: