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]
4 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]4 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
The price of 40L petrol is £24, find the price of each litre.
ratelena [41]

Answer:

I will help you with this

6 0
3 years ago
Need help someone plz help
34kurt
4 years = 48 months = 8 6 month increments so it doubles 8 times 
0 5
1 10
2 20
3 40
4 80
5 160
6 320
7 640
8 1280 rabbits
5 0
3 years ago
Find the average of each of the following.
raketka [301]

Answer:

555

Step-by-step explanation:

(357+452+589+602+775)/5

3 0
3 years ago
Read 2 more answers
This graph represents which function?
il63 [147K]

Answer:

A

Step-by-step explanation:⁻7+

4 0
4 years ago
Please give me the answer
Anna11 [10]

Answer:

52

Step-by-step explanation:

sorry if it's wrong

5 0
3 years ago
Other questions:
  • paula charges $12 to shovel a driveway she shoveled 6 driveaways on saturday and then some more on sunday she made $144 for the
    13·2 answers
  • 10. If AB = BC, AX = 4x + 5, and<br> CX = 15, find AC.
    6·1 answer
  • Can I get some help on this please
    11·1 answer
  • Find the solutions of the quadratic equation
    5·1 answer
  • Two students in your class, Wilson and Alexis, are disputing a function. Wilson says that for the function, between x = –1 and x
    8·1 answer
  • Is 16.4 greater than 16
    13·2 answers
  • Day three of trying to find kiyah mccain, I miss you babe :(
    15·2 answers
  • (Daily math question for points!!) A circle has a circumference of 50.26cm
    5·2 answers
  • 1240 at 8% compounded annually for 3 years
    12·1 answer
  • What is 3 + 6x = 2x + 27?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!