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
Two samples were taken of fish caught on Small Lake and are shown in the table below. It is estimated that the Sm
kolezko [41]

Answer:

its 80 on edg

Step-by-step explanation:

6 0
2 years ago
A bakery has 42 donuts and 24 muffins for sale. What is the ratio of muffins to donuts
Lana71 [14]
The ration is 12 muffins to every 21 donuts
6 0
2 years ago
Read 2 more answers
Draw a line through each point using the given slope. What do you notice about the two lines?
morpeh [17]
I think the answer is that they are parallel
5 0
3 years ago
tomika ran 84 miles in 4 weeks. She ran 7 days each week. If she ran the same number of miles each day, how many miles did she r
LekaFEV [45]
Three miles a day should be the correct answer
3 0
3 years ago
What's the answer!!!!!! Urgent!!!
never [62]
I think it is 640..  What they mean is every inch equals 4 feet so you would multiply 8*4 and 5*4 then you get 32 and 20.. im sure you know area but just incase its base times height so 32*20=640
7 0
2 years ago
Other questions:
  • Sam walked 3/5 of a mile to school. He also walked 6/7 of a mile on his way home. How far did Sam walk in all?
    8·2 answers
  • Whats 20 divided by one fourth
    11·1 answer
  • I need help with this.​
    6·1 answer
  • Mr. and Mrs. Wallace have decided to buy a car for $21,600. They finance $15,000 of it with a 5-year auto loan at 2.9% ARP. what
    5·2 answers
  • It took team infinite dimensions 2 hours to hike 4 2/3 miles.
    13·1 answer
  • What do I do????????
    14·1 answer
  • A triangle with one angle larger than 90° is called a(n) triangle.
    9·2 answers
  • At King Kong High School, the average weight of senior boys is 168 lbs. with a standard deviation of 7 lbs. The average weight f
    13·1 answer
  • Are the following triangles similar by the angle-angle similarity theorem?
    10·2 answers
  • Pls help very confusing
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!