Question

In C++: What is the opposite of ( x < 20 && x > 12)? please...

In C++: What is the opposite of ( x < 20 && x > 12)? please respond quickly and clearly, thank you!

Homework Answers

Answer #1

Here x<20 && x>12 refers to numbers less than 20 and numbers greater than 12.

so the numbers satisfying this condition is 13,14...19. here first less than and greater than conditions are checked seperately, && means both conditions should be satisfied.

so the opposite of this condition is

x>=20 ll x<=12.

This includes the numbers which is either greater than or equal to 20 or the numbers which are less than or equal to 12.

ll is the or operator.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Drug X is supplied 100mL in water to run over 20 minutes. How many milliliters per...
Drug X is supplied 100mL in water to run over 20 minutes. How many milliliters per hour to set controller. Please write the answer clearly and set by sep thank you
Determine the exact solution 1) 12 + In(1+5x) = 9 2) 6In(3x) - 16 = 20...
Determine the exact solution 1) 12 + In(1+5x) = 9 2) 6In(3x) - 16 = 20 3) 5log10 (2x) - 25 = 10 4) 7 + In(3+x) = 5 5) 7 + In (3 +2x) = 5 6) 7 + In (1+2x) = 5 7) 2 + log10 (6-x) = 4 Thank you - please show steps and laws . thank you kindly
12. Two spaceships leave Earth in opposite directions, each with a speed of 0.70 c with...
12. Two spaceships leave Earth in opposite directions, each with a speed of 0.70 c with respect to Earth. Part A What are the velocities of spaceship 1 relative to spaceship 2 and spaceship 2 relative to spaceship 1? Take the positive direction to be the direction of motion of spaceship 1. Express your answers using two significant figures. Enter your answers numerically separated by a comma. v12, v21 = ??? ⋅c
***DO NOT WASTE MY TIME. The correct answer is -9.6 x 10^7 C. Please explain how...
***DO NOT WASTE MY TIME. The correct answer is -9.6 x 10^7 C. Please explain how to get this answer. If you dont know how to do it, please do not submit an explanation. Thank you.*** What is the total charge of all the electrons in 1.0L of liquid water?
Which of the following is a characteristic of a contestable market? Productive technologies are patent protected....
Which of the following is a characteristic of a contestable market? Productive technologies are patent protected. Consumers react quickly to a price change. Existing firms can respond quickly to entry by lowering their price. There are significant sunk costs. Please help/Explain . Thank you
Please answer neatly and please remember this is grade 12 biology!! Thank you The average length...
Please answer neatly and please remember this is grade 12 biology!! Thank you The average length of a nucleotide is 0.34 X 10 -9 m and there are 6 X 109 base pairs in a human diploid cell. If there are approximately 5.0 X 1013 cells in a mature human and the distance to the sun is approximately 1.5 X 1011 m, determine how many times the DNA from one human could reach the sun and return. Show the math...
You have an observation x from N(o,σ). Decide c so that c|x| is a unbiased estimation...
You have an observation x from N(o,σ). Decide c so that c|x| is a unbiased estimation of σ and calculate the estimations variance. Answer exactly. please explain thoroughly. thank you in advance. :)
The cost in dollars of producing x units of a commodity is: C(x)= 920 + 2x...
The cost in dollars of producing x units of a commodity is: C(x)= 920 + 2x - .02x2 + .00007x3 a) use the marginal analysis to estimate the cost of the 95th unit b) what is the actual cost of the 95th unit? Please explain in step by step actual cost : c(x) - c(x) = ? is c(95) - c(94) = correct? I am getting a different answer Thank you
combinations X Y A 10 10 B 12 12 C 10 8 D 8 12 can...
combinations X Y A 10 10 B 12 12 C 10 8 D 8 12 can we conclude that (a) B>A? (b)D>A? (c) if D>A, then D>C? Explain please. I believe this relates to indifference curves. This is a chart of consumer preferences.
Two identical point charges (q = +6.70 x 10-6 C) are fixed at opposite corners of...
Two identical point charges (q = +6.70 x 10-6 C) are fixed at opposite corners of a square whose sides have a length of 0.550 m. A test charge (q0 = -7.80 x 10-8 C), with a mass of 3.20 x 10-8 kg, is released from rest at one of the corners of the square. Determine the speed of the test charge when it reaches the center of the square.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT