write a program in qbasic to display the first 10 terms.
3,6,12,24....................... up to 10 terms.
please
help
Answers
Answered by
19
3, 6, 12, 24, 48, 96, 9216, 18432, 36864, 73728
Because 3*2 =6
6*2=12
12 *2 =24
24*2=48
48*2=96
96*2=9216
9216*2=18432
18432*2=36864
36864*2=73728
Hope it will help u
If yes so pleaseeeee plesssssee mark me brainleist
If not so please don't mark me brainleist......
Because 3*2 =6
6*2=12
12 *2 =24
24*2=48
48*2=96
96*2=9216
9216*2=18432
18432*2=36864
36864*2=73728
Hope it will help u
If yes so pleaseeeee plesssssee mark me brainleist
If not so please don't mark me brainleist......
SRKsharukhkhan:
thanks
Answered by
15
Program to display the first 10 terms of the given series.
CLS // Clear screen
i = 3 // Initializing i
FOR i = 1 TO 10 // Starting the loop from 1 to 10
PRINT i; // Prints the i value
i = i * 2 // Formula to get the desired series
NEXT i // Incrementing i value
END // Program ends
Similar questions