write a program in Q Basic to print first 10 multiples of 6 ,7 and 8
Answers
Answered by
73
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
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
sohamdatt:
do you want brainliest
Answered by
2
Answer:This iis for basic-256 users
Explanation:
CLS
SUM = 0
FOR A = 20 TO 1 STEP -2
T = SUM
SUM = SUM + (A * A)
PRINT T; "+"; A* A; "="; SUM
NEXT A
END
Similar questions
Hindi,
8 months ago
Computer Science,
8 months ago
Math,
8 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago