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
according to weston, people who equated their adoption of a lesbian or gay identity with a renunciation of family did so in the
Bond [772]

According to Weston, people who equated their adoption of a lesbian or gay identity with a renunciation of family did so in the double-sided sense of fearing rejection by the families in which they had grown up, and not expecting to marry or have children as adults.

According to Kath Weston, an anthropologist, in the book The Families We Choose: Lesbians, Gays, Kinship discusses the adoption of a lesbian or gay identity with a renunciation of family. Even though gays and lesbians enjoy an unprecedented degree of acceptance, many gay and lesbian still adopt the popular equation of their sexual identities with the renunciation of access to kinship. They equated their adoption of a lesbian or gay identity with a renunciation of family did so in the double-sided sense of fearing rejection by the families in which they had grown up, and not expecting to marry or have children as adults.

Learn more about Gay identity:

brainly.com/question/29432219

#SPJ4

7 0
1 year ago
Why do you think the American people choose to elect president Roosevelt in 1932 instead of Re-electing President Herbert Hoover
marusya05 [52]
Can some one pls help me because i realy need help for a quiz

6 0
3 years ago
Read 2 more answers
Which Roman emperor was the first to convert to Christianity? A. Nero B. Diocletian C. Constantine D. Paul
Maslowich

Explanation:

Your answer is C

Hope this helps!

Flavius Valerius Constantinus

3 0
2 years ago
Read 2 more answers
_____ are the mathematical tools that help us show the results of our research.
Alona [7]

Answer:

plz mark as barinlest

Explanation:

Statistics

hope it helos u

5 0
2 years ago
What does Columbe threaten to do if Galileo continues to teach his new ideas?
skelet666 [1.2K]
They threatened to imprison him as well as kill him for going against the beliefs of the church
6 0
3 years ago
Read 2 more answers
Other questions:
  • A server's permit is revoked after serving alcohol to an underage guest.
    10·1 answer
  • In 25 words or fewer describe one primary source and one secondary source you think would be useful when studying government and
    8·1 answer
  • governmental services to native tribes such as subsidized medical care were a result of a.) the indian claims commission; b.) fa
    12·1 answer
  • Which world region contains the largest percentage of the world's street children?
    9·1 answer
  • Jeffrey's therapist is conducting an initial interview with him. The therapist spends a lot of time asking questions about Jeffr
    15·1 answer
  • Why did President Roosevelt support the rebels in Panama when they declared independence from Colombia? The rebels promised to p
    10·2 answers
  • Frankie and Johnny stole a Corvette and drove it around town for a few hours to show off to their friends. After being caught by
    7·1 answer
  • A behavior analyst is developing a home and community support program for a young adult with autism. The young man's mother want
    10·1 answer
  • Which selection is written in the first-person point of view?
    13·1 answer
  • Hi I need help its been a while! Why were the following rules set in place in the colony? houses were built similarly, land hold
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!