Saturday, 28 June 2014

Html program to find minimum value

  Html program to find minimum value




<html>
<head>
<title>Mathematical functions</title>

<script type="text/javascript">
function mat()
{
var a=Math.min(2,8);
document.writeln(a);
}
</script>
</head>
<body>
<form name="f1">

<input type="submit" value="min" onClick="return mat()">
</form>
</body>
</html>




output:













 

No comments:

Post a Comment