<html>
<head>
<title>large of 3 numbers</title>
<script language="javascript" >
var a,b,c,first,second,third;
first=window.prompt("enter first value");
second=window.prompt("enter second value");
third=window.prompt("enter third value");
a=parseInt(first)
b=parseInt(second)
c=parseInt(third)
document.writeln("enter values are:"+a+","+b+","+c+"<br/>");
if(a>b)
{
if(a>c)
{
document.writeln(a+" is a big");
}
else
{
document.writeln(c+" is a big");
}
}
else
if(b>c)
{
document.writeln(b+" is big");
}
else
{
document.writeln(c+" is big");
}
</script>
</head>
<body>
<p><br/>click refresh to run script again</p>
</body>
</html>