+ 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
:)
6 Antworten
+ 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 )
+ 4
Well... where are others finally? ^^
+ 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
+ 1
if u can't help there are others
+ 1
lost 😀
+ 1
I guess