answersLogoWhite

0

What is are IF statements?

Updated: 4/28/2022
User Avatar

Wiki User

9y ago

Best Answer

IF statements provide a way to branch from one part of the program to another, when a certain condition is met. For example, IF (X>Y) THEN A=X-Y ELSE A=Y-X gives the same result as A=|X-Y| (absolute value). The program performs the X-Y calculation if X is larger than Y, and it branches to the Y-X calculation if Y is larger than X (or if they are equal).

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is are IF statements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the statements written by the programmer are called?

They are called statements. They have no other special name. A group of statements are called "Block statements".


How might changing one of the financial statements affect the other financial statements?

How might changing one of the financial statements affect the other financial statements?


Do you more often prefer final unalterable statements or tentative preliminary statements?

tentative preliminary statements


Which of the following statements about listening is false?

What are the following statements.


What is the plural for statement?

The plural of "statement" is "statements."


What are the limitations of management?

Financial Statements Are Derived from Historical Costs. ... Financial Statements Are Not Adjusted for Inflation. ... Financial Statements Do Not Contain Some Intangible Assets. ... Financial Statements Only Cover a Specific Period of Time. ... Financial Statements May Not Be Comparable. ... Financial Statements Could be Wrong Du


What are limitations of financial management?

Financial Statements Are Derived from Historical Costs. ... Financial Statements Are Not Adjusted for Inflation. ... Financial Statements Do Not Contain Some Intangible Assets. ... Financial Statements Only Cover a Specific Period of Time. ... Financial Statements May Not Be Comparable. ... Financial Statements Could be Wrong Du


How can someone get his personal statements?

To get personal statements, one needs to contact the bank which one has an account with. Many banks and companies offer paper statements or the ability to check statements on their webpage.


Statements with superlatives are often false because?

Statements with superlatives are often false because strong statements are easy to disprove.


Is it possible to use multiple else statements with if statements?

yes


Where can you get financial statements?

Apple inc published accounting statements


Can compound statements be used in place of simple statements?

Yes.