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
C++ Write a program that will ask the user to input n positive numbers. The program...
C++ Write a program that will ask the user to input n positive numbers. The program will terminate if one of those number is not positive. please respond quickly and clearly, thank you!
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
in C++ Define a class bank account with proper constructors, accessors, mutators, and other member functions....
in C++ Define a class bank account with proper constructors, accessors, mutators, and other member functions. The class will be store money expressed in dollars and cents. The class should have following data members (fname, lname, accountNum, balance, dollars, cents).Write A function to print out the object bank account info.The class should implement two member functions for deposit and withdrawal. Overload the + operator, so that adding two objects of this class works. please respond quickly and clearly, thank you.
Find the domain of f(g(x)) f(x)=1/10x-20 g(x)=sqrt(2x+12) Explain if you can please and show intermediate steps...
Find the domain of f(g(x)) f(x)=1/10x-20 g(x)=sqrt(2x+12) Explain if you can please and show intermediate steps if possible!
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. :)
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT