Computer Science, asked by ishayuonline777, 7 months ago

how to print fibbonacci series in qbasic? please try to add explanation please....

Answers

Answered by aanchalkumari49
0

Answer:

  1. CLS
  2. A=0
  3. B=1
  4. PRINT A,B
  5. INPUT "ENTER NUMBER OF TIMES THE SERIES WILL RUN=";n
  6. FOR I=1 TO n
  7. S=A+B
  8. PRINT S
  9. B=S
  10. A=B

NEXT I

END

Explanation:

It is with explaination

It would be helpful

Similar questions