January 7, 2020

WAP to display all the odd numbers from 1 to 10 in descending order

(using DO - LOOP)
CLS
I = 9
DO WHILE I >= 1
PRINT I;
I = I - 2
LOOP
END

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.