Fibanocci Series program Source code
<html>
<head><TITLE></TITLE>
<script language="JavaScript">
var a=0;
var b=1;
alert(a);
var i;
for(i=0;i<=10;i++)
{
var c=a+b;
b=a;
a=c;
alert(c);
}
</script>
</head>
</html>
This blog is to share every thing related to javascript. javascript Interview Questions with Answers, Interview Tips , javascript Jobs, javascript Walkins. javascript Job Salary.
No comments:
Post a Comment