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
Vedmedyk [2.9K]
3 years ago
7

In a certain game, the integer variable bonus is assigned a value based on the value of the integer variable score. If score is

greater than 100, bonus is assigned a value that is 10 times score. If score is between 50 and 100 inclusive, bonus is assigned the value of score. If score is less than 50, bonus is assigned a value of 0.
Required:
What code segments assigns bonus correctly for all possible integer values of score?
Computers and Technology
1 answer:
liubo4ka [24]3 years ago
8 0

Answer:

A)

IF(score > 100)

{

bonus ←← score * 10

}

ELSE

{

IF(score ≥ 50)

{

bonus ←← score

}

ELSE

{

bonus ←← 0

}

}

D)

IF(score < 50)

{

bonus ←← 0

}

ELSE

{

IF(score > 100)

{

bonus ←← score * 10

}

ELSE

{

bonus ←← score

}

}

You might be interested in
The distance that light travels in a vacuum in one year is a(n) _____. A. AU B. parsec C. light-year D. kilometer
Andru [333]

Answer:

light year

Explanation:

Its is equal to 9,500,000,000,000km

5 0
3 years ago
What are entity-relationship diagrams and how are they used? What symbol is used for a relationship? What is an associative enti
castortr0y [4]

Answer:

The definition including its given problem is outlined in the following segment on the clarification.

Explanation:

  • Entity-relationship (ER) diagram describes how mechanical stored procedures are constructed and demonstrate the overarching representation of the situation. It also describes the connections between some of the entities of the framework and even the comparison with standard measurements.
  • For something like an individual relationship structure, the normal representation of connections seems to be a diamond. Associative institutions have several to many partnerships to communicate with. It's indeed the verb throughout a diamond-shaped form that holds two organizations around each other. This verb is in fact an entity on its own, therefore it must be termed an associative entity.
  • An illustration of such might be if a participant were to register for a class. Multiple individuals will be registered for several courses, and there have been many to several relationships; thus, the associative object will indeed register.
4 0
3 years ago
Ginny downloads and modifies an open source software program, then uploads the program with a different name. Which type of soft
abruzzese [7]

Answer:

The correct answer to the following question will be "GNU General Public License".

Explanation:

GNU General Public License:

  • This is a commonly used free and license open source that ensures the right to operate, test, distribute and change the program for end-users.
  • To prevent the GNU program from becoming proprietary, Richard Stallman developed the GPL. It is a basic use of his idea of the "copyleft."

If an individual alters and downloads a free software program, the program will then be uploaded with another name, then they would have to use this type of software license.

3 0
3 years ago
Relieved to have survived ,henry rolled off the rink________.giving alex a grateful look
Marina86 [1]

Answer:

simultaneously might be the answer

8 0
3 years ago
FIrst person to put lyrics to wap gets brainliest 100% NO CAP
Firdavs [7]

Answer:

i got u

Explanation:

****** in this house

There's some ****** in this house

There's some ****** in this house

There's some ****** in this house (Hol' up)

I said certified freak, seven days a week

Wet and gushy, make that pullout game weak, woo (Ah)

[Chorus: Cardi B]

Yeah, yeah, yeah, yeah

Yeah, you dealin' with some wet and gushy

Bring a bucket and a mop for this wet and gushy

Give me everything you got for this wet and gushy

[Verse 1: Cardi B & Megan Thee Stallion]

Beat it up, baby, catch a charge

Extra large and extra hard

Put this cookie right in your face

Swipe your nose like a credit card

Hop on top, I wanna ride

I do a kegel, I'm kinda wild

Look at my mouth, look at my thighs

This water is wet, come take a dive

Tie me up like I'm surprised

Let's roleplay, I'll wear a disguise

I want you to park that big Mack truck right in this little garage

Make me dream, make a stream

Out in public, make a scene

I don't cook, I don't clean

But let me tell you how I got this ring (Ayy, ayy)

5 0
3 years ago
Other questions:
  • What does a company’s code of ethics cover
    8·2 answers
  • "Select the computing device that uses a limited version of an operating system and uses a web browser with an integrated media
    12·1 answer
  • Tricia needs to tell her browser how to display a web page. What will she need to use? Compiler
    8·1 answer
  • Which of the items listed is not considered to be personal protective equipment (PPE)?
    14·1 answer
  • Given a string variable s that has already been declared, write some code that repeatedly reads a value from standard input into
    12·1 answer
  • Of all excavation hazards, _______ poses the greatest risk
    8·1 answer
  • A garments manufacturing company buys various types of natural and synthetic materials to produce clothes. Which material is a s
    6·2 answers
  • If a folder exists on an NTFS partition, which permission is needed by a user who needs to set security permissions on the folde
    11·1 answer
  • A major retailer wants to enhance their customer experience and reduce losses
    9·1 answer
  • For her presentation on Italy, Matilda used a red background with light green text. When her friend critiqued her presentation,
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!