Computer Science, asked by Sobhan9878, 5 months ago

QBASIC PROGRAM TO FIND ODD NUMBER 1 TO 50

Answers

Answered by manishaprajapati2222
0

Answer:

To print all odd number from 1 to 50

Explanation:

FOR I = 1 to 50 Step2

PRINT i + " ";

NEXT i

END

Output = 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50.

Similar questions