Computer Science, asked by gayatrigautam977, 6 months ago

write a QBASIC program to print all the even numbers between 2 to 50 in the descending order.​

Answers

Answered by valeriy69
3

\large\mathsf\color{pink}{Solution\: using\: QBASIC}

FOR x = 50 to 2 step -1

IF x MOD 2 = 0 THEN

PRINT x;

ENDIF

NEXT x

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions