0
How to write one's complement program in html with JavaScript?
3 odpowiedzi
+ 1
example
var x=5
alert(~x)//output is 10
0
by using ~ operator we can perform one's compliment
0
i know we can use tilde operator.. but I wanted to be solved in step by step process..