Write an IF statement that assigns the text "No" to the variable answer when the variable age is 65 or greater; otherwise, assign "Yes". Write an equivalent statement using the opposite condition, age < 65


IF age > = 65 THEN
LET answer = "No"
ELSE
LET answer = "Yes"
END IF

Equivalent version:


IF age < 65 THEN
LET answer = "Yes"
ELSE
LET answer = "No"
END IF

Computer Science & Information Technology

You might also like to view...

Match each term with the correct statement below.

A. provides a basic idea of network use in UNIX/Linux systems. B. installed for long cable runs, such as for long distances between buildings. C. provides guidelines for how to properly ground all cable plants. D. used to tie the horizontal cable on each floor in a building into a logical backbone. E. provides power when there is a general power failure, surge, or brownout. F. SNMP capable information-gathering switches dispersed on each floor to provide the network management station with continuous information about all parts of the network. G. does not give off noxious chemicals when exposed to flames. H. enables you to segment networks and control network traffic. I. used for configuring cells to enable roaming.

Computer Science & Information Technology

Some ____ available in the Research Tools toolbox include a dictionary and, if you are connected to the Web, a Web search tool.

A. dialogs B. pathways C. indices D. services

Computer Science & Information Technology