Hello my friend out there i realy need help .i'm working on one of my class labs but things is not that write to me...could one out there assist me thanks you. here is the quz<<<<<< Write a program in HTML and JavaScript for the following tasks: Find the maximum number of entries in the three-digit number.<<<<< here is my code but its not that working well help!!

<html>
<body>
<form name="form1">
<script type="text/JavaScript">
<!--
function maxValue(x,y,z)
var x,y,z;
if(x>y)
{
if(x>z)
{
"x-Maximum number";
}
else{
"z-Maximum number";
}}
else{
if(y>z)
{
"y-Maximum number";
}
else{
"z-Maximum number";
}}}
//-->
</script>
Enter the Number<input type="text" size =3 name="num"> <br>
<input type="button" value="Check the maximum number of" onClick="maxValue

(form1)"><br>
Result:<input type="text" size =75 name="res"><br>
<input type="reset">
</form>
</body>
</html>

John_Jr: an answer that goes for both your posts:

you are working with JavaScript, which has nothing at all to do with Java.
please, post your questions in this forum.