Thread: Computers Nerd homework
View Single Post
Old 10-13-2021, 10:23 PM   #25
Bearcat Bearcat is offline
Would an idiot do that?
 
Bearcat's Avatar
 

Join Date: Nov 2000
Location: Arizona
Casino cash: $8534931
Quote:
Originally Posted by arrwheader View Post
Also he has val 5 equals val 4 and then is comparing them in the if statements? They are the same.


Sent from my Pixel 3a using Tapatalk
And this is a good place to start, as he sets them equal to each other and then never does anything to change their values.... so, a good start would be to echo all of the variables after their set, so you know what they are, then do the same within the if statements so he can see exactly what the program is doing.
Posts: 45,576
Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.Bearcat is obviously part of the inner Circle.
    Reply With Quote