<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>
Answer:
C. The distribution for town A is positively skewed, but the distribution for town B is symmetric.
Hope it helps you out!
Answer:
The angles are 54 2/3 degrees and 115 1/3 degrees
Step-by-step explanation:
make an equation for the angles x being one angle and y being the other
16+ 2x =y
Supplementary angles add to 180
x + y = 180
Fill in y with the first equation
x + 16 +2x =180
simplify
3x +16 =180
subtract 16 from both sides
3x = 164
divide both sides by 3
x = 54 2/3
Insert the value of x into the first equation then simplify
16 + 2(54 2/3) =y
16 + 109 1/3 =y
115 1/3 =y
Answer:
yeah, its 64
Step-by-step explanation:
Given:
Amount = Rs. 34476
Rate of compound interest = 4%
Time = years
To find:
The principal value.
Solution:
Formula for amount is
Where, P is principal value, r is rate of interest and t is time in years.
Putting the given values, we get
Now,
Therefore, the value of sum or principal value is Rs.31256.