i want to know what does this means “if(d1!=0&d2!=0)”
What does following epression means
condition will only be true if
d1 is not equal to zero
and
d2 also not equal to zero
if any one d1 ,d2 equal to zero then the condition inside if is false
Hi Tanna, pls remeber i.e. there will be 2 &s i.e. it will be:
if ( d1!=0 && d2!=0 )
This means tha statements in if block will be exeuted only if both the conditions on left and right side of && are true. If both or either of them are false then the statements if block will not be executed.
okk thanks for the help sir