Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
write a fortan program to find the specific fibonacci number
+1
vote
asked
Mar 8, 2020
by
shagor
urgent-
Please
log in
or register to answer this question.
1 Answer
0
votes
answered
Mar 17, 2020
by
anonymous
PROGRAM Fibonacci
IMPLICIT NONE
INTEGER :: FIRST, SECOND, TEMP, IX
FIRST = 0
SECOND = 1
WRITE (*,*) FIRST
WRITE (*,*) SECOND
DO IX = 1, 45, 1
TEMP = FIRST + SECOND
FIRST = SECOND
SECOND = TEMP
WRITE (*,*) TEMP
END DO
END PROGRAM Fibonacci
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...