<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>
If there is a 20 square pieces of wood, I can make a rectangle by placing them side by side are by 24, by 12, by 8 and by 6. Thank you for posting your question I hope my answer helps.
Answer:
sin S = is the ratio found.
Step-by-step explanation:
It is given that m∠U = 90°
TS is the hypotenuse = 73 units
UT is the adjacent side of the right angle = 48 units
SU is the base of the triangle = 55 units
Now we have to find the ratio as,
sin S =
sin S =
Plugin the values, we will get,
sin S =
So the ratio was found.
disclaimer this is not my work it is youaskianswer's work.
Answer:
No
Step-by-step explanation:
Price after the socks is marked up = $40 + $5 = $45
If the sock is discounted by 40%, the price of the socks would be 60% of the original price
0.6 x $45 = 27
The discounted price is $27
There are several information's already given in the question. Lat us first write them down and then go for solving the problem.
Total number of pupil <span>in Secondary one = 225
Let us assume the number of pupil who do not pay the school fees through GIRO scheme = x
Then
Number </span>of pupil who pay the school fees through GIRO scheme = 14x
So
x + 14x = 225
15x = 225
x = 15
From the above deduction, it can be concluded that 15 pupil did not join the scheme.