Here is the code:
<html>
<head>
<script type="text/javascript" langage="javascript">
function getHighest()
{
var a = parseInt(document.getElementById("num1").value);
var b = parseInt(document.getElementById("num2").value);
var c = parseInt(document.getElementById("num3").value);
if((a>b)&&(a>c))
{
alert(a+" is the highest number");
}
else if((b>a)&&(b>c))
{
alert(b+ " is the highest number");
}
else if((c>a)&&(c>b))
{
alert(c+ " is the highest number");
}
else
{
alert("One of them is not an int");
}
}
</script>
</head>
<body>
Input a: <input type="text" name="number1" id="num1" /><br />
Input b: <input type="text" name="number2" id="num2" /><br/>
Input c: <input type="text" name="number3" id="num3" /><br/>
Submit: <input type="submit" name="submit" value="submit" onclick="javascript:getHighest();return false;" />
</body>
</html>
Java script
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
That is called IDE (Integrated Development Environment). That is a standard tool to see the code-behind and the outcome. For JAVA there is netbeans & eclipse which are popular & free.
JAVA
When it comes to java script you can simply download it free from the java website. You can also go to CNET downloads and get it free from there.
Most likely java script
Java script
No, Java script is not needed to play poptropica.
some times
Java script
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
That is called IDE (Integrated Development Environment). That is a standard tool to see the code-behind and the outcome. For JAVA there is netbeans & eclipse which are popular & free.
JAVA
You need to have some program that can open/run them on your computer. To save them, then run them, save them as a .Js files.
No
No. JavaScript coding does not mean writing programs only for Java. JavaScript and Java are two different programming languages. JavaScript is mainly used to create interactive websites and web applications, such as menus, forms, animations, online shopping features, and dashboards. It can also be used for server-side development, mobile apps, desktop applications, and more. In simple terms: Java is a programming language, while JavaScript is primarily a web-development language. Despite their similar names, they are not the same. visit now : Excellence Technology 9317788822, 9357788822
When it comes to java script you can simply download it free from the java website. You can also go to CNET downloads and get it free from there.