Wednesday 26 October 2016

My C++ output is always 0

I'm currently trying to input a formula into code but when I execute, it always comes up as zero. I tried looking around but more forum posts have specific errors that cause them to output zero, and aren't related to what I'm trying to do. So if anyone can be a second pair of eyes, that would be amazing.



enter image description here

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...