input a number in QBASIC and check whether the given number is fibonacci or not
Answers
Answered by
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
Social Sciences,
4 hours ago
Math,
4 hours ago
India Languages,
7 hours ago
Math,
7 hours ago
English,
8 months ago
English,
8 months ago