wap a progran in q basic to dislpay all the od numbers from 10 to 1
Answers
Answered by
2
Question:-
Write a program in QBASIC to display all the odd numbers from 10 to 1.
Program:-
CLS
FOR I = 10 TO 1 STEP -1
IF I MOD 2=1 THEN
PRINT I+" "
END IF
NEXT I
END
Similar questions