Hi all,
I have been asked a question by a fellow coder concerning if statements.
The question was, what is the difference between the code below and which one is the correct way to write the code;
if(x == 'Y' && w == 'X') {
print "yes";
}
or
if(x == 'Y') && (w == 'X') {
print "yes";
}