write a QBASIC program to print all the even numbers between 2 to 50 in the descending order.
Answers
Answered by
3
FOR x = 50 to 2 step -1
IF x MOD 2 = 0 THEN
PRINT x;
ENDIF
NEXT x
Similar questions
Computer Science,
4 months ago
History,
4 months ago
Math,
4 months ago
Math,
7 months ago
Social Sciences,
7 months ago
Computer Science,
1 year ago