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
Revolutionary government owes to all good citizens the fullest
tia_tia [17]
I think it will be A. Directory Stage that’s my opinion for this question
6 0
3 years ago
How might western movies be more realistic?
navik [9.2K]
<span>I think western movies could be more realistic by giving more details to the conflicts Often time, movies always had the good guys and the bad guys. To be more honest, every conflicts that happened throughout the histoy is simply happened because there were 2 sides that confront each other for different interests as for who is 'bad' and who is 'good', it depended entirely to the side that the story teller is on</span>
4 0
3 years ago
This Roman general conquered Gaul. After
Readme [11.4K]

Answer:

His name is Julius Caesar.

Explanation:

Julius Caesar is seen as one of the greatest generals in the history of human kind. He participated in many war campaigns, and the one mentioned in here against Gaul was described in one of his books.

On the other side, he formed alliance with Pompey, but later they became enemies, and Caesar defeated him.

Among those who killed was his close friend Brutus.

4 0
3 years ago
A market researcher is trying to determine whether males differ from females with regard to the following question: do you drink
VMariaS [17]
Yes i do drink soft drinks. What are the tests?

5 0
3 years ago
In this unit, you learned about the different
SOVA2 [1]

Answer:

CVBZ,MXCCVNNMVBZMXVBZXMVB,XMVB,ZXMCVBZ,XCVB,ZXMCVB,MZXVBXBNCVXNBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

Explanation:

5 0
3 years ago
Other questions:
  • The article mentions that schools are funded by property taxes. What might be a possible issue with this setup?
    7·2 answers
  • What were the reasons for the Korean War in 1950?
    6·1 answer
  • Match the following items. 1. one who rules a country or colony by the authority of his king Puritans 2. claimed land in the Ohi
    6·2 answers
  • What is the role of the Vice President in determining if the President can do his job?
    11·1 answer
  • Why did Congress disagree with President Andrew Johnson's reconstruction plan
    13·1 answer
  • A campaign advertisement appears on TV and in social media that says, "Candidate Smith has a record that includes policies that
    6·1 answer
  • Is it C or D? Not sure.
    7·2 answers
  • Read the following passage and find the error.
    7·2 answers
  • Holly lives according to her own rules, unconcerned about designer labels, brand names, and luxury items. holly is at which leve
    13·1 answer
  • In what controlled airspace are you not required to contact atc when flying in vmc?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!