The compiler I used let it go and then when I ran the program, it never let me out of the loop because I initialized the value to zero which passed as zero to the condition which always made it true. Once I got rid of the initial value and passed the calculated one, everything was fine... well...
I'm doing a class product, and I'm getting stuck in a do while loop. The conditions have to be true in order for the loop to repeat itself right? Since the conditions use OR logic, doesn't that mean that if any of the conditions are false, then it should jump out of the loop? I'm also having...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.