write a program in Q Basic to display the series 1, 3, 5, 7 up to the 10th term using for next loop
Answers
Answered by
5
Question:-
- Write a program in Q Basic to display the series 1, 3, 5, 7 up to the 10th term using for next loop.
Program:-
CLS
LET A=1
FOR I=1 TO 10 STEP 1
PRINT A+" "
A=A+2
NEXT I
END
Answered by
2
Answer:
Question:
- Program to display series 1,3,5,7...10th term
Code:
CLS
D=1
FOR I =1 TO 10
PRINT D+","
D=D+2
NEXT I
END
Similar questions