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
lisabon 2012 [21]
4 years ago
11

Use a logical OR to write a more concise equivalent of the following code:

Computers and Technology
1 answer:
Ede4ka [16]4 years ago
4 0

Answer:

if(saleAmount >= 300 || areaCode == LOCAL_CODE)

cout << "Delivery available" << endl;

Explanation:

|| operator is known as the logical OR operator in C++. The logical OR operator returns True either one of the operands is True or both of them True. It returns false only when both of the operands are false. The above-written code will print Deliver available when the saleAmount is greater than or equal to 300 or the area code is equal to LOCAL_CODE.

You might be interested in
The role of the
ElenaW [278]

Answer:

Tcp

Explanation:

8 0
3 years ago
You are a very small company that sells healthcare insurance plans. You estimate that the breach of your customer database will
lozanna [386]

Answer:

C. Accept the risk

Explanation:

The first option is close but might not be suitable for a small company considering it's cost.

The second option which is to spend fifty thousand dollars per year on a data loss prevention solution is projected to cost you more than the risk.

The third option isn't specific and lacks a course of action.

6 0
3 years ago
Help, with gaming unlocked
Leto [7]

Answer:

C. empathic understanding

8 0
4 years ago
having one password for all accounts is an easy way to remember passwords, but it will expose you to what risk?
VLD [36.1K]
If all accounts you have have the same password, then if someone gets the password to one account, then that person has access to all your accounts.
4 0
4 years ago
Ten(10) examples of wearables or wearable technologies?​
Semmy [17]

Answer:read

Explanation:

airpods

headphones

earbuds

AirPods  pro

watch

fitbit (type of watch that counts your miles) &you can say workout watch&

VR set

technology bracelet

smart glasses

Smart ring

7 0
3 years ago
Other questions:
  • The term _____ refers to an organization of components that define and regulate the collection, storage, management and use of d
    7·2 answers
  • Which of the following best describes why Earth’s atmosphere can support life on Earth?
    14·1 answer
  • Which of the following is a valid format symbol in Microsoft Excel? Dollar Sign, Comma, Percent Sign or all of them? I can't fig
    14·1 answer
  • What means can a worm use to access remote systems to propagate?
    7·1 answer
  • Imagine you just bought a cable installation company that routinely treats its residential customers poorly. You want your compa
    11·1 answer
  • What is the primary difference between the windows server 2012 r2 server manager and previous versions (before windows server 20
    11·1 answer
  • Design a class named Employee. The class should keep the following information in member variables:
    5·1 answer
  • Define a class Person that represents a person. People have a name, an age, and a phone number. Since people always have a name
    7·2 answers
  • When first designing an app, all of the folldwing are important EXCEPT
    13·1 answer
  • It is a part of webpage that contains the logo ang branding of the web page​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!