লজিক্যাল অপারেটর:
|
Operator |
Name |
Description |
Example |
|
&& |
Logical and |
উভয়টি সত্য হলে true রিটার্ন করে |
x < 5 && x < 10 |
|
|| |
Logical or |
যেকোনো একটি সত্য হলে true রিটার্ন করে |
x < 5 || x < 4 |
|
! |
Logical not |
রেসাল্ট কে উলটিয়ে দেয়। অর্থাৎ true হলে false এবং false হলে true করে দেয় |
!(x < 5 && x < 10 |
Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease