WAP to calculate the sum of the series till 'n' terms: Sum=x/1+x/3+x/5+x/7+x/9.....+x/n | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

WAP to calculate the sum of the series till 'n' terms: Sum=x/1+x/3+x/5+x/7+x/9.....+x/n

:)

2nd Aug 2017, 5:51 AM
Adhiraj Dhar
Adhiraj Dhar - avatar
6 ответов
+ 11
easy ... u can make it very easily @adhiraj ... just take out x common and game will be over ☺ , more things ... u know u can take summation of nth term also ... then it will be a single line code ... (apply maths skills ...if u r in 11th class or above )
19th Sep 2017, 4:23 PM
Changed
Changed - avatar
+ 4
Well... where are others finally? ^^
5th Aug 2017, 11:43 AM
visph
visph - avatar
+ 3
Simple loop, and basic operations are required: Provide your own code attempt, and you will get more help than by claiming for someone to write it for you :P
2nd Aug 2017, 10:52 AM
visph
visph - avatar
+ 1
if u can't help there are others
2nd Aug 2017, 4:35 PM
Adhiraj Dhar
Adhiraj Dhar - avatar
+ 1
lost 😀
5th Aug 2017, 11:43 AM
Adhiraj Dhar
Adhiraj Dhar - avatar
+ 1
I guess
5th Aug 2017, 11:43 AM
Adhiraj Dhar
Adhiraj Dhar - avatar