Skip to main content

Write a program in foxpro to generate fibonacci series.

                           
Ans:-
Input"Enter the last term of fibonacci series:-"to num
a=0
b=1
i=1
?a
do while(i<=num)
c=a+b
a=b
b=c
?a
i=i+1
enddo

Comments

Post a Comment

Popular posts from this blog

React Js interview questions

 

Math notes

Supremum   math Logical math Recurrence Relation  

Robotics Question