Physics, asked by ashiioo1, 2 months ago

Design a class to overload a function series() as follows:

(i) double series(double n) with one double argument and returns the sum of the series.

sum = 1/1 + 1/2 + 1/3 + … 1/n

(ii) double series(double a, double n) with two double arguments and returns the sum of the series.

sum = 1/a2 + 4/a5 + 7/a8 + 10/a11 … to n terms
"Thanku so much " for the thanks​

Attachments:

Answers

Answered by umasahu871999
2

Answer:

Hello beautiful i hope you are doing well ❤️

Answered by armaanshaikh98346813
1

Answer:

mark me as brainliest please

Similar questions