Learned that ‘=’ can be used only for assignment of values to variable, i.e. x=3.
If you want to compare to variables in a conditional, you must use ‘==’, i.e. 2==3 is false.
Learned that ‘=’ can be used only for assignment of values to variable, i.e. x=3.
If you want to compare to variables in a conditional, you must use ‘==’, i.e. 2==3 is false.
You must be logged in to post a comment.