Logical Operators Given Below
      && 
      and 
      x=6 
y=3
(x <>1)
returns true
    
    || 
      or 
      x=6 
y=3
(x==5 || y= =5)
returns false
    
    
      ! 
      not 
      x=6 
y=3
!(x= = y)
returns true
    
April 20, 2009
0 Logical Operators
Posted by raj on 7:28 AM


 
 Posts
Posts
 
 





 
 
 
 



0 comments:
Post a Comment