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
Which of the following graphs represents a function?
4vir4ik [10]

Answer: you didnt post graphs to look at

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Can someone pls help me 2-7 thank u :)
kolbaska11 [484]
2. 27
3. 13
4. 35
6. 22
7. 60

I was unable to help with 5 because of the plot box!! Hope this helps
8 0
3 years ago
Read 2 more answers
What is the linear function equation that best fits the data set?
Kitty [74]

Answer:

A

Step-by-step explanation:

An educated guess because I really forgot how to do these

5 0
3 years ago
Please list a reason why scientific notation is important thank youuu !!
otez555 [7]

The primary reason why scientific notation is important is that it allows us to convert very large or very small numbers into much more manageable sizes. When these numbers are in scientific notation, it is much easier to work with them
6 0
2 years ago
Let the positive numbers a, b, c. Prove that <img src="https://tex.z-dn.net/?f=%5Cfrac%7Ba%5E%7B2013%7D%2Bb%5E%7B2013%7D%2Bc%5E%
Serggg [28]

Answer:

I don't need to prove it, I already believe you

7 0
3 years ago
Other questions:
  • Kevin is 39 years old and daniel is 3 years old. how many years will it take until kevin is only 4 times as old as daniel?
    11·1 answer
  • Write a word problem that involves combining three equal groups
    14·1 answer
  • What is the answer to: -8(8+9g)=7(-2-11g)
    10·1 answer
  • The difference between 9 thirty-seven and 8 thirty sevens
    13·1 answer
  • Need help asap please its due in 10 minutes
    9·1 answer
  • Quadrilateral ABCD was dilated by a scale factor of 0.7 with
    15·1 answer
  • A car moving at a constant speed passed a timing device at t=0. After 7 ​seconds, the car has traveled 567 ft. Write a linear fu
    11·1 answer
  • WILL MARK AS BRAINLIEST!!!!!
    10·1 answer
  • Help help I will make you brain list!!
    5·1 answer
  • Tamara bought 4 pack of move tickets $42.50 .How much does the single ticket cost. (3)which digit is in the hundreds
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!