write programs in Qbasic for the following
to print the odd number from 1 to 20 using FOR.......NEXT
PLEASE GIVE ANSWER STEP BY STEP PLEASE IF YOU HAVE KNOW TANN DON'T SPAM ANSWER PLEASE
Answers
Answered by
1
Explanation:
program python
x = 20
for i in range(1,x+1):
if i%2!=0:
print("odd no",I)
Please mark me as brainly*
Answered by
2
Question:-
Write programs in QBASIC to print the off numbers from 1 to 20 using FOR NEXT statement.
Program:-
Type this program. (Shortest method).
CLS
FOR I=1 TO 20 STEP 2
PRINT I
NEXT I
END
Similar questions