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
How would farmers help their neighbors keep their homes when they could not repay their bank loans
kow [346]

Answer:

The correct answer is, Farmers made sure that the highest bids that the bank received when auctioning their homes were pennies.

Explanation:

When people mortgage their properties or precious materials to banks, in order to get loans, and are unable to pay the loans, then banks sell their properties or precious materials to get their money back. They usually sell the mortgage at a good price to have their loans recovered. So farmers made sure that the people who came for auctioning of the houses offer pennies, so that banks won't sell the homes at so low price. In this way, farmers could help their neighbors keep their homes.  

3 0
2 years ago
Describe the contrasting moods in France in the weeks after the fall of the Bastille.
anyanavicka [17]

Answer:

After the fall of Bastille, there was a rush of mixed emotions. People felt "patriotic hope" and pride in their country. They no longer felt fear of violence. They praised their King and were glad he brought reform to France.

Explanation:

There you go... Hope this helps! Good luck:)

7 0
2 years ago
Who was put on trial in 1633 by contradicting the roman catholic church by arguing that the earth moved around the sun?
tangare [24]
 Galilei was the one that was put on trial
6 0
3 years ago
Read 2 more answers
Money that has value because the government has declared that it is an acceptable means to pay debts is referred to as _____. fi
rodikova [14]
Fiat money is the term used to refer to money that has value because the government has declared that it is an acceptance means to pay debts.

Example of fiat money are paper money and coins with "this note is legal tender for all debts private and public."

7 0
3 years ago
Read 2 more answers
Read this article that describes the stance of the Democratic Party on energy and the use of resources. What does the Democratic
Maru [420]

The correct answer is: <em>"Clean energy sources will help the environment as well as the economy." </em>

The Democratic Party is committed to supporting the balance of development with environmental protection. This is why they aim to reduce the country's dependence on foreign oil and eliminating the subsidies applied to Oil and gas companies. On the other hand, they promote the use of this saved money in the development of clean energy alternatives and energy independent technology.

The Democratic Party also supports the development of hydrogen as a renewable energy and is committed to the funding of studies that will help overcome the technical difficulties that are present in the adoption of hydrogen as a safe energy source.


8 0
2 years ago
Read 2 more answers
Other questions:
  • In 1497, explorer Vasco da Gama left Portugal and sailed to India. He became the first European to sail around Africa in order t
    14·2 answers
  • On April 17, 1973, Ron Ziegler, President Nixon's press secretary, was caught in a lie during a press conference. In his attempt
    10·1 answer
  • What is a residentle school
    9·2 answers
  • PLEASE HELP LOVE:)
    15·1 answer
  • How does the Monroe Doctrine demonstrate the rising power of the United States?
    11·1 answer
  • Suppose there are two small island countries: Avarice, which is populated by people who are completely self-interested, and Altr
    10·1 answer
  • Tim is able to explain how emotions transition from one stage to another and how complex emotions relate to one another. For exa
    5·1 answer
  • Roger is at a party talking and laughing with a group of friends. He sets his plastic soda cup down and seconds later picks up t
    12·2 answers
  • Staunch southern proponents of states’ rights believed that states had the right of nullification. Which of the following BEST d
    9·1 answer
  • Describe 3 reasons (give specific details) why Chief Joseph would be (plaque) or wanted (for arrest). And describe 3 reasons (gi
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!