03 Fibonacci series Program PHP- record

 sava--Fibonacciseries3.php

program:-

<!DOCTYPEhtml>
<html>
<body>
<?php
$n =0;
$a=0;
$b =2;
echo"Fibonacciseries withthe first2numbers as0and 2is:<br> ";
echo"$a,$b";
while($n <26 )
{
$c=$b+$a;
echo", ";
echo"$c";
$a=$b;
$b=$c;
$n =$n +1;
}
?>
</body>
</html>

output:-


 


Comments

Popular posts from this blog

digital marketing ppt-u1

SOFTWARE

cn lab

Computer Operations and Performing - D L Unit-1-1

DS-Record-mca-04) write a program for evaluating a given postfix expression using stack.

DBMS Degree Lab Records

Unit 2: Foundations of Ownership, Security Related Concepts in Blockchain

Unit-1 Foundations of Software Systems and Blockchain

Access the Internet to Browse Infromation & E-Mail Operation- D L Unit-2-1

6)what are the various service of internet and protocols ICT-unit-1