1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Reptile [31]
3 years ago
15

Assigned newbits with the opposite values of oldbits if flipbits is true. ex: if oldbits = [1, 1, 0, 1] and flipbits is 1, then

newbits = [0, 0, 1, 0]
Mathematics
1 answer:
Kisachek [45]3 years ago
5 0

Franck's answer is better (using ~), but I just wanted to point out that the conditional in yours is slightly redundant. It's easy to forget that, since you already have a boolean value, you don't need to perform a comparison in your conditional. So you could have just done this...

<span>if x x = false; else x = true; <span>end</span></span>
You might be interested in
Solve for x.<br><br> x2−10=−5<br><br><br><br> x=±5√<br><br> x=±15−−√<br><br> x=±35√<br><br> x=±50−−√
aksik [14]

Answer:

x=±5√

hope this helped

Brainliest?

5 0
3 years ago
Read 2 more answers
Help pls which ones are the answer
Degger [83]

Answer:

F

Step-by-step explanation:

if t is the total acreage and its reduced by 8%, then t -0.08

3 0
3 years ago
Jeremy makes 57,852 per year. Hiw much is his salary monthly? How much is it weekly?
dusya [7]

Monthly:

There are 12 months in a year. So, all we have to do is divide his yearly salary by 12.

57,852÷12

4,821

So, Jeremy's monthly salary is $4,821.


Weekly:

There are about 52 weeks in a year. So, we need to divide his yearly salary by 52.

57,852÷52

1,112.54

So, Jeremy's weekly salary is $1,112.54.

6 0
3 years ago
Read 2 more answers
Ten fence posts costs $92 mr. bell spent $276 for fence posts how many did he buy ?.
oee [108]

Answer:

3 fence posts

Step-by-step explanation:

$276/$92=3 fence posts

6 0
1 year ago
Read 2 more answers
Jack and Jane are married and both work. However, due to their responsibilities at home, they have decided that they do not want
Zanzabum
To solve a system of inequalities we graph both of them.
The inequality representing their combined pay would be
12.50x+10.00y \geq 750.  This is because Jane makes 12.50/hr, Jack makes 10.00/hr, and they want to make at least, so greater than or equal to, $750 combined.
The inequality representing their combined hours working would be
x+y \leq 65, since they do not want their combined hours to be over 65.  In both of these inequalities, <em>x</em> represents the number of hours Jane works and <em>y</em> represent the number of hours Jack works.
To graph these, we solve both of them for <em>y</em>:
x+y \leq 65&#10;\\ x+y-x \leq 65-x&#10;\\ y \leq 65-x
12.50x+10.00y \geq750&#10;\\12.50x+10.00y-12.50x \geq 750-12.50x&#10;\\10.00y \geq 750-12.50x&#10;\\ \frac{10.00y}{10.00} \geq \frac{750}{10.00} - \frac{12.50x}{10.00}&#10;\\y \geq 75-1.25x
The attached screenshot shows what the graph looks like.  Going to the point where they intersect, we see that the shaded region that satisfies both inequalities begins when Jane works 40 hours and Jack works 25.

5 0
2 years ago
Other questions:
  • What is the perimeter of a square whose diagonal is 3 square root 2? Show all work on how you got your answer
    6·1 answer
  • Hi math question is in the picture pls help
    6·1 answer
  • What is the value of f(4) in f(x)=3x-6
    7·1 answer
  • Solve for x 5x+5x+3=4(2x+1)-2
    9·1 answer
  • Which of these is a simplified form of the equation 7y + 8 = 9 + 3y + 2y? 7y = 6 5y = 17 12y = 17 2y = 1
    7·2 answers
  • Given that x is a normal variable with mean μ = 47 and standard deviation σ = 6.3, find the following probabilities. (Round your
    7·1 answer
  • What is the property of 8x1 = 8
    8·2 answers
  • If y=1/4 and x=-12, find y
    8·1 answer
  • How many 0.25 are there in 10.5?​
    8·2 answers
  • What life cycle adaptation allows a seahorse to make lots of babies in a short amount of time? (2 points)
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!