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
The slope of a line can be stated many ways if not put into simplest form.
dolphi86 [110]
Your answer is true , it can be stated by putting it into simplest form
8 0
3 years ago
Can someone help me with number one
Sholpan [36]
163.2 is the correct Answer

5 0
3 years ago
Read 2 more answers
Mr.jones is planning to plant grass and place a fence in a small area for his dog the rectangular dimensions are 12 x15 feet the
cestrela7 [59]

Answer:


Step-by-step explanation:


5 0
4 years ago
Read 2 more answers
PLZ HELP ME ON THIS THANK YOU SO MUCH!
Vilka [71]

Answer:

$4.55

Step-by-step explanation:

7% of $65 = $4.55

7 0
3 years ago
Read 2 more answers
Find the surface area of the pyramid. Correct answer will be marked brainliest!!!!
stepladder [879]

Answer:

178.3 mm²

Explanation:

The surface area of the regular pyramid is equal to the sum of the base and lateral areas:()

5 0
3 years ago
Other questions:
  • Pure acid is to be added to a 10​% acid solution to obtain 21 L of a 40​% acid solution.
    11·1 answer
  • On any given day, the probability that the entire watson family eats dinner together is 2/5. find the probability that, during a
    6·1 answer
  • Prove that : sin^4(2x)=3/8-1/2cos4x+1/8cos8x<br> Someone plzz help!!!
    11·1 answer
  • The sum of 3 consecutive odd numbers is 51. what is the second number in this sequence
    7·2 answers
  • If 2x – 1 is a factor of 16x4<br> 24x3 + 2x + f, find f.
    7·1 answer
  • In chemistry lab, there are 9.52 grams of powdered substance in a container. Max needs to place substance into each of 3 glass p
    14·1 answer
  • 5 The smallest angle of a triangle, in degrees, is p.
    11·1 answer
  • What two numbers multiply to get 45 but add to get -10?
    5·1 answer
  • 17. Solve for x: 3xyz = P (MAFS.912. A-
    15·1 answer
  • 3x + 2y = 3 / 2x + 3y = 2
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!