answersLogoWhite

0

What is are IF statements?

Updated: 4/28/2022
User Avatar

Wiki User

8y 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

8y 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".


What are implicit statements?

Statements that are unstated by the writer


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 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


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

yes


Where can you get financial statements?

Apple inc published accounting statements


What inoperative statements mean?

Inoperative statements is a euphemism for lies.


Can compound statements be used in place of simple statements?

Yes.


What are policy statements?

Policy statements need to be specific and precise