1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
charle [14.2K]
3 years ago
12

In a situation where you want to perform one action when a Boolean expression evaluates as true and an alternate action when it

evaluates as false, otherwise known as a dual-alternative decision, what sort of statement should you use?
Social Studies
1 answer:
Ghella [55]3 years ago
8 0

Answer:

if-else

Explanation:

Based on the information provided within the question it can be said that the best statement to use in this situation is an if-else statement. Like mentioned, this is a statement that outputs two different results depending on whether or not the input meets a predefined set of rules.

For Example: Input is 17

if (hour < 18) {

 greeting = "Good day";

} else {

 greeting = "Good evening";

}

Output would be "Good evening" in this situation

You might be interested in
The motto of the department of veterans affairs is to care for him who shall have borne the battle. Who originally wrote these w
marin [14]

Answer:

The answer is Abraham Lincoln.

Explanation:

The full quote is: "To care for him who shall have borne the battle and for his  widow, and his orphan". He meant to emphasize th government's obligation to take care of the soldieres who were injured in war, and provide for their families.

It was only until 1959 that it became the motto of the then called Veterans Administration.

8 0
4 years ago
You commit plagiarism when: A. You present the work or ideas of someone else as your own B. You forget to cite your sources accu
neonofarm [45]

Answer:

Your answer is A.

Explanation:

8 0
3 years ago
Read 2 more answers
List out the attempt for inclusiveness in Nepal​
kozerog [31]

Answer: State of Inclusion in Nepal

The second amendment of the Nepal Civil Service Act has reserved 45 percent seats to backward communities for 20 years. The proportional representation system was developed to make political participation more inclusive.

Explanation: No Explanation, Sorry

8 0
3 years ago
A _______________ was usually built next to a mission for protection. A) presidio B) fortress C) chapel D) mansion
dalvyx [7]
I say A. presido is the answer
8 0
3 years ago
Read 2 more answers
Which area of South Asia is known as a hotspot for biodiversity which includes many endemic plants and animals?
sergij07 [2.7K]

Answer:

I'm pretty sure its Western Ghats

5 0
3 years ago
Other questions:
  • If the President vetoes a bill, what is needed for it to still become law?
    6·2 answers
  • The story of marlin card, who was born into poverty as a child and has lived his life in and out of prison, demonstrates what, a
    13·1 answer
  • What developed along with farming? Will mark first BRAINLYIST
    8·2 answers
  • Periodic tune-ups are important because they _________
    5·1 answer
  • What will most likely change our ways of communicating in the future?​
    13·1 answer
  • An activity acquired in your life that you can "take with you."
    13·1 answer
  • Which statement tells an advantage of multicellular organisms?
    5·2 answers
  • The participation of both the federal government and the state
    11·1 answer
  • ________________ means native to a particular place, in this case Australia.
    9·1 answer
  • In what way is the north east wind useful​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!