<span>Int var1 = 0b0001;
int var2 = 0b1111;
int results1 = var1 & var2;
int results2 = var1 | var2;
int results3 = var1 ^ var2;
int printit = results1 + results2 + results3;
what are the values for results1, results2, results3 and printit after executing the code?
notes:
1. faster responses will be obtained if your code is presented line by line (in a file) before posting.
2. please specify language, many languages use the same syntax but could have differences in interpretation
-------------------------------------------------------------------------------
Assuming Java as the language. C is similar.
</span><span><span>& bitwise AND &
^ </span><span>bitwise exclusive OR
</span><span>| bitwise inclusive OR
So
results1=var1&var2=0b0001&0b1111=0b0001
results2=var1|var2=0b0001&0b1111=0b1111
results3=var1^var2=0b0001&0b1111=0b1110
printit=results1+results2+results3=0b0001+0b1111+0b1110
=0b10000+0b1110
=0b11110
Note: by default, int has 4 signed bytes, ranging from decimal -2147483648 to +2147483647
</span></span>
$18. Multiply 30 by 0.4 and subtract that value from 30 to get the price after the percentage taken away.
base, b = 45m
angle of elevation, aoe = 82deg
height at 86th floor, h1
height above 86th floor, h2 = 123m
total height, h = h1 + h2
using
tan (aoe) = h1/b
=》 h1 = tan (aoe) × b = tan 82 x 45 = 320.2
h = h1 +h2 = 320.2 + 123 = 443.2m
Answer:
x=53
Step-by-step explanation:
pythagoras theorem
a^2 + b^2 =c^2
here a and b are two small sides and c is hypotenuse (longest side)
28^2 + 45^2 = c^2
784 + 2025 =x^2
2809 =x^2
=x
53 =x