<html>
<head>
<script type="text/javascript">
function series()
{
var i=1
while(i<=10)
{
document.write(i+"<br>")
i=i+2
}
}
</script>
</head>
<body>
<form action="#" name=f1>
<input type=button value="generate series" onclick="series()">
</form>
<br><span id="outtab"></span>
</body>
</html>
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.
1 2 3
write the javascript code to display the reverse no. of given no. (e.g. 247 reverse of 742)
There isn't much to it:---alert("Hello " + "world!");---'alert' creates a popup, and the + does string concatenation.See related link for a Javascript tutorial.
JavaScript is a scripting language that is mainly used within a web browser. Jquery is a library of javascript code that can be used together with your javascript program. A set of functions that can preform common tasks is provided, which will reduce the amount of code that you have to write yourself.
Write an. Algorthim. To. Find the. Sum. Of. First15 natural. Numbers
write a lex program to delete space from the program
First you will need to have some basic programming knowledge. You can use this to help make the program that is needed.
write an assembly language program to find sum of N numbers
go to notepad and write Javascript code and save it as .js and then import it into a page with a src tag
write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html
fdsgfhgdfhgdf