Computer Science, asked by sohamdatt, 1 year ago

write a program in Q Basic to print first 10 multiples of 6 ,7 and 8

Answers

Answered by aditya910
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

sohamdatt: do you want brainliest
sohamdatt: if yes i will mark you
aditya910: if its correct then only
sohamdatt: no itsnot correct
sohamdatt: but do you need
aditya910: no
sohamdatt: ok
aditya910: thanks for telling its wrong
sohamdatt: ok
aditya910: this ans is correct
Answered by Ayansh11
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