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
Shtirlitz [24]
3 years ago
15

Elana is programming a video game. She needs to simulate the power up that the player gets when they reach a certain level. The

computer can run a program to return a random integer between 1 - 100. Elana wants the best power up to be rewarded 15% of the time. Explain how Elana can use the computer to simulate the player getting the best power up at least 2 out of 3 times
Mathematics
1 answer:
zvonat [6]3 years ago
7 0

Answer:

You have to define when the power should be pushed up using the 'For' statement and let an impulse be sent to the CPU to increase power by 15%

Step-by-step explanation:

We use certain functions in writing computer programs.

For the 'For' statement ; we can define conditions. First Elana would define at what point does she want the player power to get the best power.

For example if she defines that when the player has played for 2hours return an integer 1 for instance.

This value returned will now send a pulse to the CPU to increase its power to 15%.

If the player plays for further 1hour she can define the count to be 10 and so send another pulse to the CPU to increase the processing power by additional 15%

You might be interested in
25x10^6 how do you do this question??
Mazyrski [523]

Answer:

25,000,000x

Step-by-step explanation:

10^6=1,000,000

25*1,000,000x

Mulitipli the numbers: 25 * 1,000,000 = 25,000,000x

7 0
3 years ago
Read 2 more answers
CAN somebody plz plz help me with raios
Kaylis [27]
I can help what are the problems
5 0
3 years ago
3d - 4, where d = 5 .
Crank
The correct answer would be-11
8 0
2 years ago
Read 2 more answers
2x + 9y = 18<br> Find the slope and y intercept
antiseptic1488 [7]

Answer:

Slope is -2/9 and y intercept is (0,2)

Step-by-step explanation:

4 0
3 years ago
Read 2 more answers
Convert 12,345 inches per minute to feet per hour.
BlackZzzverrR [31]

Answer: 61725

Listen, I'm happy to help you cheat, but couldn't you have just ran this through a calculator? It's not that hard.

6 0
3 years ago
Read 2 more answers
Other questions:
  • Help please and explain
    7·1 answer
  • Read the complete problem before answering.
    13·1 answer
  • When is an expression undefined? give an example.
    8·1 answer
  • Solve the following simultaneous linear congruences.
    5·1 answer
  • Write in standard form (x^2 + 3x -1) + (7x-4)
    5·1 answer
  • What is 2(2x-1) = 3(x-1)
    11·1 answer
  • you have a piece of yarn that is 12 1/2 ft long. You need to cut it into strips that are 1 1/4 ft long. how many strips will you
    14·1 answer
  • Which graph represents this exponential function? f(x)=3(2)^x-4
    12·1 answer
  • Rewrite 4a + 7a using the Distributive Property.
    5·1 answer
  • 3/54+4/6<br> Add the fractions and give your answer as a proper fraction
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!