Computer Science, asked by olivia220, 2 months ago

Write a program to print odd numbers from 1 to 10 using IF THEN and GOTO statement in Basic 256​

Answers

Answered by Aryansingh001
3

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