Write a program in qbasic to print first 10multiples of 18,19 and 20
Answers
Answered by
4
Answer:
1. Rem using FOR...NEXT loop
FOR A=6 to 60
PRINT A
NEXT A
REM Using DO WHILE... Loop
A=60
DO WHILE (A>=60)
PRINT A
A=A+60
Loop
REM Using DO UNTIL...Loop
A=60
Do UNTIL (A<60)
PRINT A
A=A+60
LOOP
Explanation:
please tag me as brainlist
Similar questions