Operators

Operators = Math + Logic

int biryani = 250;
int coke = 60;
double total = (biryani + coke) * 1.18; // 365.8 with GST
bool freeDelivery = total > 300; // true
+ - * / %Math
== != > <Compare
&& || !AND OR NOT

Quick Check ๐Ÿง 

Easy Q1: What does 10 % 3 return?

Comments on Operators (0)

No comments yet. Be the first to share your thoughts!