find the output for the following CLS FORI=1 TO IO STEP 2 PRINT I NEXT I END
Answers
Answered by
2
Answer:
WAP to display the series 2 3 5 8 12 17………. upto 10th terms
CLS
i = 2
FOR j = 1 TO 10
PRINT i;
i = i + j
NEXT j
END
Fibonacci Series
1 1 2 3 5 8……………………10th term
CLS
A = 1
B = 1
PRINT A; B;
FOR i = 1 TO 10
C = A + B
PRINT C;
A = B
B = C
NEXT
END
Step-by-step explanation:
please add as brilliant answer
Similar questions