Computer Science, asked by SagarikaChaterjee, 1 year ago

Write a Q-Basic programme to print a series with gap of 4 between 1 and 40.


SagarikaChaterjee: FAST PLZZZZZZZZZZZZZZZZ
Anonymous: kk

Answers

Answered by Anonymous
5
The steps are as follows-
10 N=1
20 IF N<41 THEN GOTO 30 ELSE GOTO 60
30 PRINT N
40 N=N+4
50 GOTO20
60 END


Anonymous: mark it best plzzzzzzzzzz
SagarikaChaterjee: ok
Answered by saniarisha
1
CLS
INPUT "enter any number" N
LET I = 4
WHILE  I<N
PRINT I
I = I+4
WEND
END.

OUTPUT;
4
8
12
16
20
24
28
32
36



Similar questions