Change the logic so it is comparing what's there now.
Don't show data for the next problem until the current problem has been handled.
Type: Posts; User: Norm
Change the logic so it is comparing what's there now.
Don't show data for the next problem until the current problem has been handled.
Print out the values of s and check just before the if statement that tests them so you can see what the computer is seeing and understand why it is doing what it does.