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
BRAINLIST ANSWER TO FIRST CORRECT ANSWER!!
IgorC [24]
It is D because that is what my friend said
7 0
3 years ago
What evidence have historians found of a golden age during the Kingdom of Silla?
Alex73 [517]

There are different ancient kingdoms. The evidence historians have found of a golden age during the Kingdom of Silla is option d in the image attached.

  • A lot of objects such as 100 spectacular objects were produced in about 400 and 800 Silla's seminal time period.

Silla is known to be the Korea's Golden Kingdom that has a lot of artistic achievements. This small kingdom was known to have rose to stardom then when they embraced cosmopolitanism, and did gained control over much of the Korean peninsula.

Learn more about Silla from

brainly.com/question/8139410

8 0
2 years ago
Read 2 more answers
How trade affected the development of early greek civilizations and describe the enduring traditions that greek culture extend t
iogann1982 [59]

the answer is:Sea trade allowed for an exchange of ideas and technology that these civilizations could adapt and utilize in their own society.

8 0
3 years ago
PLEASE HELLPP ILL GIVE A CROWN
alexandr402 [8]
The answer is C. I think I’m not to sure
6 0
3 years ago
The French and the Patriots were both familiar with the terrain and used scouting techniques borrowed form the Indian tribes. Bo
bazaltina [42]

Similarities-- The French and the Patriots were both acquainted with the landscape and utilized exploring methods acquired structure the Indian clans. The two gatherings additionally utilized sneak assaults to trap the British.  

Difference-- European battling rules. They battled in lines, on combat zones. The Patriots utilized guerrilla strategies, focusing on authority. Being the Patriots were untrained they utilized unpredictable strategies and battled as they had against adversary Indian clans.

4 0
3 years ago
Other questions:
  • How does duration differ from capacity?
    13·2 answers
  • 1. An important effect of economic growth is that it A. lowers taxes.
    8·1 answer
  • 1. Which of the following best describes how deviance is defined? a. Deviance is defined by federal, state, and local laws. b. D
    5·1 answer
  • Mr. Letourneau is flying his broom stick parallel to the ground. He undergoes two consecutive displacements. The first is 100 km
    7·1 answer
  • We research theories of personality to: establish one of them as superior among all. describe their use for real-world problems.
    15·1 answer
  • When an individual feels that both health and illness are a product of psychological, biological, and social forces, he/she beli
    6·1 answer
  • Debate over what to do with slavery in the new territories
    7·1 answer
  • POSSIBLE POINTS
    8·1 answer
  • According to the evolutionary psychology notion of kin selection, Bob is most likely to help his __________. cousin Herbert step
    9·1 answer
  • Factors that may contribute to the youth being hesitant to conduct themselves as responsible citizens?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!