S= X¹/1 -X³/3+X⁵/5-X⁷/7.... N find sum of the series in Qbasic
Answers
Answered by
0
Answer:
Explanation:
INPUT "Limit:"; var
INPUT "X:"; value
s=0
i=0
DO
i=i+1
numa=value^i
numb=i
s=s+(numa/numb)
PRINT value;"^";i;" / ";i
LOOP WHILE i < var
PRINT s
Attachments:
Similar questions