write a program in QBASIC to display 20 even positive numbers from 10
Answers
Answered by
1
Explanation:
This answer is usefull for You
Attachments:
Answered by
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:
- Declare A=10
- Create a loop that iterates 20 times.
- Display the value of A.
- Increment the value of A by 2.
Refer to the attachment.
•••♪
Attachments:
Similar questions