Computer Science, asked by sayantisamantass, 7 hours ago

input a number in QBASIC and check whether the given number is fibonacci or not​

Answers

Answered by Mimix123
0

Answer:

CLS  

A=0  

B=1  

PRINT A,B  

INPUT "ENTER NUMBER OF TIMES THE SERIES WILL RUN=";n  

FOR I=1 TO n  

S=A+B  

PRINT S  

B=S  

A=B  

NEXT I  

END

Explanation:

Similar questions