Computer Science, asked by deeksha987, 11 months ago

Write a program in java to find the sum of the given series. S=x/2 + x/5 + x/8 + x/11 +............ + x/20.​

Answers

Answered by heroboy53
2

Answer:

STEP 1: START

STEP 2: SET lines =10

STEP 3: SET i=1

STEP 4: REPEAT STEP 5 to 9 UNTIL i is less than or equals to lines

STEP 5: SET j=1

STEP 6: REPEAT STEP 7 UNTIL j is less than or equals to i

STEP 7: PRINT i*j and SET j = j + 1

STEP 8: PRINT new line

STEP 9: SET i = i + 1

Similar questions