If we do not use y++ inside the condition when y equals 22, the value of y will continue being 22 in subsequent iterations. This will likely bring about an infinite loop since the condition will always be true: If y is just not incremented, the program will never exit https://dallaszaffs.bloguetechno.com/the-consult-lawyer-in-karachi-diaries-71640765