Computer Science, asked by sahoonirupama043, 4 months ago

write a program in QBASIC to display 20 even positive numbers from 10​

Answers

Answered by sonwanead2165
1

Explanation:

This answer is usefull for You

Attachments:
Answered by anindyaadhikari13
1

Answer:

The given program is written in QBASIC.

A = 10

FOR I = 1 TO 20

   PRINT A;

   A = A + 2

NEXT I

END

Algorithm:

  1. Declare A=10
  2. Create a loop that iterates 20 times.
  3. Display the value of A.
  4. Increment the value of A by 2.

Refer to the attachment.

•••♪

Attachments:
Similar questions