answersLogoWhite

0

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

What else can I help you with?

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


What is the plural for statement?

The plural of "statement" is "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


What inoperative statements mean?

Inoperative statements is a euphemism for lies.


Can compound statements be used in place of simple statements?

Yes.


Where can you get financial statements?

Apple inc published accounting statements


What are policy statements?

Policy statements need to be specific and precise


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

yes