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>
0 comments:
Post a Comment