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
What are the function of manors room?
Maslowich

Answer:

moo i like cows?

Explanation:

7 0
3 years ago
Read 2 more answers
Your instructor gives you a take home exam that is due in two weeks. The exam requires that you answer 100 multiple choice quest
Nataly [62]

Answer: . procrastination

Explanation:

Procrastination is the avoidance of doing a task that needs to be accomplished by a certain deadline. It could be further stated as a habitual or intentional delay of starting or finishing a task despite knowing it might have negative consequences

3 0
3 years ago
Do you think British rule was a blessing or a curse for India?
Sonja [21]
The British rule in India had mixed blessings. Indians spoke hundreds of different languages, so the introduction of English by the British served to unified Indians with the same language.  
Hope this helps!!!
4 0
3 years ago
Read 2 more answers
What is the other subatomic particle that it exchanges
enyata [817]
Photons and glutons?
5 0
3 years ago
Why do you think the American perception of mental illness is so different than that of East Africa's?
gayaneshka [121]
Because of our technology and medicine.Africa is not as advanced as we are we have different ways of helping people in safe ways,as in Africa they have other ways that could be dangerous and leed to serious disease.
4 0
3 years ago
Other questions:
  • When do nathan and lucas became friends again in season 3?
    5·1 answer
  • What is an example of public service
    14·2 answers
  • One way in which the Progressive movement of the early 1900s and the women’s rights movement of the 1960s are similar is that ea
    15·1 answer
  • Welma is unable to accept the fact that she has been diagnosed with lung cancer. She refuses treatment despite her family's atte
    14·1 answer
  • According to the passage, tomatoes are picked while they<br> are still green
    6·2 answers
  • What is another name for business leaders?
    11·2 answers
  • Describe what Post-truth is and provide an example
    14·1 answer
  • Why did the ancient Greeks seek advice from the oracles
    8·1 answer
  • What is the implicit message in this visual media?
    9·1 answer
  • A systematic effort to find, retain, train, and motivate highly skilled workers is called ______.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!