+ 9

Hello everyone...I need a help

May you please tell why in the code below..sum1 is always equal to intinite...I don't have a problem with it...just wanted to know is the program correct or not https://code.sololearn.com/cwucsIvF92I3/?ref=app

7th Nov 2020, 4:25 PM
𝑹𝒂𝒔𝒉𝒊🪷
𝑹𝒂𝒔𝒉𝒊🪷 - avatar
8 Antworten
+ 3
We cannot divide a number by 0. In the code for loop starts with initial value i=0 and x/i will be infinite. Start the for loop with i=1 and because of this error your signs of the terms in the series are also altered.
7th Nov 2020, 4:34 PM
Coder##***
Coder##*** - avatar
+ 6
Coder##*** ooh yes....I totally forgot about it..thnks for tellin🙂🙂
7th Nov 2020, 5:00 PM
𝑹𝒂𝒔𝒉𝒊🪷
𝑹𝒂𝒔𝒉𝒊🪷 - avatar
+ 6
Prathvi u know there is a big bug in the system on my side...the chat in which I replied to ur msg...is now looking to be of atomic wave...then of someone else..nd then of someone else...then who is recieving the msg I just sent😑😑.. regarding this confusion only
11th Nov 2020, 5:23 AM
𝑹𝒂𝒔𝒉𝒊🪷
𝑹𝒂𝒔𝒉𝒊🪷 - avatar
+ 6
Coder##*** Ooh Prathvi hmm....but thats ok...atleast we'll not recieve msgs from some defaulters who keep on msging hi nd hello😂...but a problem also...we will be unable to ask or discuss about codes...but thats ok...for that discussion section is okay😁😁
11th Nov 2020, 5:33 AM
𝑹𝒂𝒔𝒉𝒊🪷
𝑹𝒂𝒔𝒉𝒊🪷 - avatar
+ 6
Coder##*** yes the same is mine...but it's okay..I have no problem...I just asked to know is there seriously a bug or only mine is having some problem😁😁
11th Nov 2020, 5:34 AM
𝑹𝒂𝒔𝒉𝒊🪷
𝑹𝒂𝒔𝒉𝒊🪷 - avatar
+ 3
Others also got the same problem, many users mentioned this problem in the discussion section.
11th Nov 2020, 5:26 AM
Coder##***
Coder##*** - avatar
+ 2
Yaaaa , in message section some issues or bug .
11th Nov 2020, 5:27 AM
Prathvi
Prathvi - avatar
+ 2
https://www.sololearn.com/Discuss/2585451/?ref=app See this, he also got almost the same issue
11th Nov 2020, 5:31 AM
Coder##***
Coder##*** - avatar