Thank you for your reply, I think that's not the cause. Since loop3 will change the value of p, and in this case, because x is the largest number the computer can handle and is a prime number, so that at the end
p = x
and when p is used to calculate the value of a, because 2*p is larger than...
Hi, everyone;
I am trying to test a part of a program, and the result I get from a do loop really confuse me. For do loop3, if I add a write statement at line 29, when I run the program, the do loop will never end, and from the value returned, it seems that the program has never updated the...
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.