I'm very curious about how does the "term" variable work in the first line of code when it codes: double pi = 0.0, term;
I also am unable to run this code on VSCode IDE Error Code C4578
I can't seem to find an answer on Google, so I came here. On the error of running the code, I tried to change numbers (adding decimal places) because it says its a data conversion problem with abs(). I think its something with abs() only outputing int datatype, is there anyway to fix it?
Thank u so much if you are seeing this, its my first time coding ;)