answersLogoWhite

0


Best Answer

This is true in a very basic sense. But statements cannot always be flipped around this way. I don't know if you're talking about programming or logic, but in programming, say you have the statement:

if count == 34 then endloop = true.

There may be another statement later that turns endloop true no matter what.

In logic, if the "if" statement has absolutely nothing to do with the "then" statement, then the answer to your question is false

-FALSE!

User Avatar

Elnora Herman

Lvl 10
2y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

If the conditional (if, then) is true, its inverse (if not, then not) may not be neccesarily true. For example,

If a number is even, then it can be divided by 2 evenly. (True)

If a number is not even, then it cannot be divided by 2 evenly. (True)

If you grew up in Albania, then you know to speak Albanian. (True)

If you grew up not in Albania, then you don't know to speak Albanian. (Not neccessarily true)

This answer is:
User Avatar
User Avatar

niya011

Lvl 1
2y ago
It's false guys!
User Avatar

sidney marquie

Lvl 1
1y ago
It’s false

User Avatar

Wiki User

9y ago

This is true in a very basic sense. But statements cannot always be flipped around this way. I don't know if you're talking about programming or logic, but in programming, say you have the statement:

if count == 34 then endloop = true.

There may be another statement later that turns endloop true no matter what.

In logic, if the "if" statement has absolutely nothing to do with the "then" statement, then the answer to your question is false

-FALSE!

This answer is:
User Avatar

User Avatar

Mattea Ruff

Lvl 3
1y ago

false

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

false--apeex

This answer is:
User Avatar
User Avatar

Anonymous

Lvl 1
3y ago
Correct one. Why are there so many different answers here
User Avatar

Anonymous

Lvl 1
3y ago
Wrong bro
User Avatar

Anonymous

Lvl 1
3y ago
Wrong honey try again
User Avatar

Anonymous

Lvl 1
3y ago
Wrong honey try again
User Avatar

Sofi Qirko

Lvl 1
1mo ago
PLS IS IT OR IS IT NOT TRUE??

User Avatar

Anonymous

Lvl 1
3y ago

True

This answer is:
User Avatar

User Avatar

Anonymous

Lvl 1
3y ago

True

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: True or false If you took an if then statement and inserted a not into each clause the new statement would also be true.?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is it true or false while loop repeats infinitely when there is no statement inside the loop body that makes the test condition false?

That statement is definitely TRUE. This is the major concern with using while loops and why you need to be very careful using them. A false statement inside the loop would cause its immediate termination. That is desired in all cases.


The import statement is always the first noncomment statement in a Java program file?

False. If your class belongs to a package, the package statement should be the first statement. Plus, it's possible that you're not using any resources outside the default java.lang package, and would have no need to import any additional packages.


In which of the following scenarios would you need to use a nested IF statement?

You use a nested if when the condition is dependent upon another condition. For example: if (ptr != nullptr) { // ptr is non-null -- test the value it refers to if (ptr* == 0) { // the value pointed to by ptr is zero } else { // the value pointed to by ptr is non-zero } } In this case, the alternative to a nested if creates an inefficiency: if (ptr != nullptr && *ptr == 0 ) { // ptr is valid and refers to the value zero } else if (ptr != nullptr) { // ptr is valid and refers to a non-zero value } In this example, the expression "ptr != nullptr" is evaluated twice when ptr is valid and refers to a non-zero value. The nested if only evaluates this expression one time.


Can a conditional operator replace an if statement always?

No. An if statement does not require an elseclause and the expression(s) do not return anything to the caller, whereas the conditional operator always executes one of two expressions and always returns the value of the executed expression back to the caller. The executed expression may be yet another conditional operator, thus allowing simulation of nested ifs and if...else if... else statements.Consider the following example:int x = rand();if( x > 100 ) x = 100;We can achieve the same result with a conditional operator:int y = rand();y = y>100 ? 100 : y;However, if we were to expand this statement to an if statement we would not get the original if statement shown above:int z = rand();if( z > 100 ) z = 100;else z = z;The else clause is clearly unnecessary in this case, so the original if statement would be the statement of choice here.As a general rule, if you can make use of the return value in a conditional operator, and must return one of at least two values, then use the conditional operator. Otherwise use an if statement.


How would you declare a constant of 5 called MYCONST?

A constant of 5 called MYCONST would be declared as #define MYCONST 5. This is because the statement used is a define statement.

Related questions

True or false if you took a true “if-then” statement and inserted a not in each clause, the new statement would also be true?

False


True or false If you took an if-then statement inserted a not in each clause and reversed the clauses the new statement would also be true. A. True B. False?

True


If you took an if then statement inserted a not in each clause and reversed the clauses the new statement would also be true?

true


Is it true that if you took an if-then statement inserted a not in each clause and reversed the clauses the new statement would also be true?

If the conditional (if, then) is true, then the contrapositive (reversed; if not, then not) will be also true. And vice versa, if the conditional is false, its contrapositive will be also false. for example,If a graph passes the vertical line test, then it is a graph of a function. (True)If a graph is not a graph of a function, then it will not pass the vertical line test. (True)Yes, but only if the original if-then was true.


True or false If you took a true if-then statement and reversed the clauses the new statement would also be true.?

The answer is false


True or false if you took a true if then statement inserted a not in each clase and reversed the clauses the new staement would also be true?

True. In that case, each of the statements is said to be the contrapositive of the other.


What are some examples of popular paradoxes?

An example of a popular paradox would be "This statement is false." The statement refers to itself as being false, which means that it invalidates the fact that it itself is false.


What statements about science and technology are false?

One false statement would be that we can go warp speed.


Oil is an example of a renewable fuel?

That would be a false statement.


Make a statement if it is true I will cut of your head if false I shall shoot you if neither is true or false I will let you go what statement will set you free?

the statment would be "you will shoot me"


What is an example of a false statement about water?

An example of a false statement about water might be: All water is unhealthy for you. - That is false; humans need water to survive. However, a true statement (an opposing statement) would be: If water is polluted or contaminated, it may be very unhealthy to drink. But if no other source of water is present, humans would still need to drink the polluted water.


Is the following a statement This statement is false?

The answer depends on your definition of statement, It is a grammatical correct English declarative sentence which may be a statement by one definition. However, in logic, a statement is defined to be a sentence that is either true or false but not both. This sentence is not a statement by this definition.It is neither true nor false, because if is true, since it says it is false, it is false. If it is false. then is true since that is exactly what it says.Please see the related question for more about this famous paradox.