console.log("Operators in Js")
console.log("Arithmetic Operators")
let a=45;
let b=4;
console.log("a+b=", a+b)
console.log("a-b=", a-b)
console.log("a*b=", a*b)
console.log("a/b=", a/b)
console.log("a**b=", a**b)//exponentian
console.log("a%b=", a%b)
console.log("a++", a++)
console.log("a=",a)//after increment
console.log("a--", a--)
console.log("a=",a)//after decrement
console.log("++a", ++a)
console.log("--a", --a)
console.log("Assignment Operators")
let c=8;
console.log(c)
c+=5;//same as c=c+5
console.log(c)
c-=6;
console.log(c)
c*=5;
console.log(c)
c/=4;
console.log(c)
c%=5;
console.log(c)
c**=7;
console.log(c)
console.log("Comparison Operators")
let comp1=6;
let comp2=7;
console.log(comp1==comp2)
console.log(comp1!=comp2)//not
console.log(comp1===comp2)/*same value different datatype comparison if we let comp2="6" which compares b/w number and string.*/
console.log(comp1!==comp2)
console.log(comp1<comp2)
console.log(comp1<=comp2)
console.log(comp1>comp2)
console.log("Logical Operators")
let x=5;
let y=6;
console.log(x<y && x==5)
console.log(x>y || x==5)
console.log(!false)
console.log(!true)