Jul 30, 2011 at 3:11pm
single = is an assignment operator
double == is an equality operator
if you used if (country = "usa") then you would assign usa to country rather then check to see what its value is and if it matches "usa".
*Edit Nisheeth is faster poster then me.
Last edited on Jul 30, 2011 at 3:14pm