Webastor - Programming Tips and Tricks

Programming language => PHP => Topic started by: Edwin on November 17, 2016, 07:04:54 PM

Title: Why does a for loop with i as 10, a condition set as i greater than or equal to 0 and update statement is i equals i divided by 3, count infinitely?
Post by: Edwin on November 17, 2016, 07:04:54 PM
Hi all, I have a very urgent question to you, why does a for loop with i as 10, a condition set as i greater than or equal to 0 and update statement is i equals i divided by 3, count infinitely? Thank you very much give me your opinion but it is not very urgent.