**You and your 2 friends are trying to make an MLG team for your favorite video game. The variable you is your MMR, the variable friend1 is the MMR of your first friend, and the variable friend2 is the MMR rating of your second friend. Your MMR ratings will always be from 0 to 2000. The result is what Rank your team gets placed in. The ranks are 0 = bronze, 1 = silver, 2 = gold, and 3 = platinum. If 2 or more members of the team have an MMR of 1600 or more, then your team will get placed in platinum. If only one member of your team has an MMR of 1600 or more, then your team will get placed in gold. With the exception that if any of you have an MMR of 800 or less, then your team is placed in bronze. Otherwise your team gets placed in silver

Java only

rankMLG(2000, 1800, 1900) → 3
rankMLG(1000, 1100, 1400) → 1
rankMLG(500, 1000, 600) → 0
rankMLG(2000, 1000, 1200) → 2

Answers

Answer 1

With the exception that if any of you have an MMR of 800 or less, then your team is placed in bronze. The Java programming is given below"

What is Java programming about?

The function "rankMLG" takes in 3 parameters, the MMR ratings of you and your two friends, and returns the rank of the team based on the criteria provided. The ranks are 0 for bronze, 1 for silver, 2 for gold, and 3 for platinum.

The function first checks if 2 or more members of the team have an MMR of 1600 or more, if so, the team gets placed in platinum (rank 3). If only one member of the team has an MMR of 1600 or more, the team will get placed in gold (rank 2).

Then, the function checks if any of the team members have an MMR of 800 or less, if so, the team is placed in bronze (rank 0).

Otherwise, the team gets placed in silver (rank 1).

The results of the examples you provided are:

rankMLG(2000, 1800, 1900) will return 3 (platinum)

rankMLG(1000, 1100, 1400) will return 1 (silver)

rankMLG(500, 1000, 600) will return 0 (bronze)

rankMLG(2000, 1000, 1200) will return 2 (gold)

Therefore it is good to note that this function is an example and could be a simplified version of the ranking system used in a video game. depending on the game and the community rules the criteria could change.

Learn more about Java programming  from

https://brainly.com/question/26642771

#SPJ1


Related Questions

Which option identifies what process should be used as a model for design in the following scenario?

John is developing a handheld camera, unlike any others that have been developed before. Even though he understands what the final product will be, it still requires further development and modification.

A. engineering design process
B. reverse engineering process
C. structural process
D. brainstorming process

Answers

Answer:

A. engineering design process

Explanation:

We are told that John is trying to develop a handheld camera. And that it is unlike any other one that has been developed before.

Now, though he understands what the final product will look like, the camera still required further development and modification. This is simply an engineering design process because it involves finding a need and trying to solve it since he already understands what the final product will be.

if when you put your shirt in your pants, your shirt is tucked, does that mean when your shirt is over your pants, your pants are tucked into your shirt...?

Answers

Answer:

confusing, but yes

Explanation:

your shirt is over you pants I believe.

Why are the main cables of the Golden Gate Bridge made of numerous smaller cables?

Answers

Answer:

The main cables of the Golden Gate Bridge are made of numerous smaller cables because by combining several thousand in number of smaller cables, each having a diameter which is approximately the diameter of a pencil, into the required cable diameter dimensions, the flexibility, strength, resistance to cracking, rotation resistance, crushing resistance and fatigue resistance of the main cables are increased, and failure of a few strands in a multi-stranded cable is more likely to be detected before catastrophic failure takes place than in a single cable

The properties of strength and flexibility that the cable provides are required so that the bridge can better cushion the seismic turbulence of the water and strong wind energy at the bay of San Francisco, the location of the bridge

Explanation:

Summarize key
points from each
paragraph
READING Customer Service
Learning Seed: Communicating with Customers
What Makes Good Customer Service?
When you work in a retail store, what services are you offering? You
may think that your employer is paying you to prepare food, stock
shelves or tidy up the sales floor, but those aren't the real reasons.
Your employer is paying you to serve the needs of his or her
customers. Without good customer service, the customers would
disappear, and without customers, the business would fail. How you
treat the customers has a big impact on how well the store succeeds.
So what makes good customer service? The main ingredient is trying
to understand the customer. Understanding what a customer wants,
doesn't want, and how he or she wants to be treated are the keys to
having happy customers. There are many components to good
customer service, but in the end they all come down to the same goal:
understanding your customers.
Successful (And Not-So-Successful) Interactions What are the key points?

Answers

Answer:

what are is ethiopia cultural ?

Which option explains why Tyler is impressed in the following scenario?
Tyler's dishwasher recently stopped working. As he was browsing some of the newer models in the store, he was thrilled with what they offered.


The newer dishwasher models were much less expensive due to recent changes in sustainability.

The efficiency rating of the dishwasher was significantly improved, meaning it would save him money and be more eco-friendly.

Engineers were able to design dishwasher models with superficial changes, making them look more attractive.

Due to newly developed products, there was a much wider variety of energy-efficient dishwashers available.

Answers

Answer:

Its B).  The efficiency rating of the dishwasher was significantly improved, meaning it would save him money and be more eco-friendly.

Explanation:

On EDG

Answer:

It's B) i just did it in edg

Explanation:

Which activity is unethical when using a public Internet access terminal? NULL 2
a.
Participate in public online surveys
b.
Offer movie links to friends in other countries
C.
Upload huge video file onto video sharing website
d.
Share personal photos on social networking site

Answers

Answer: C

Explanation:

Uploading a huge file on the internet will slow it down alot

What’s the answer to this I don’t understand

Answers

Answer:

Electrons are the negatively charged particles of atom. Electrons are extremely small compared to all of the other parts of the atom. So, the negative green particles of this atom are the electrons.

Explanation:

Hope it helps:)

I need help... What is Torque?

Answers

Answer:

a twisting force that tends to cause rotation

Explanation:

Answer:  a force that causes something to rotate

Explanation:

10) A roller coaster has a circular loop of radius 5.0 m. You go around at the minimum speed.
How fast will you be moving at the bottom?

What is your acceleration? (in m/s2, in g’s)

How does this feel? Where else have you felt this effect?

Draw a Force Diagram at the bottom.

This is dangerous. What should the radius be at the bottom, so that you only feel 2 g’s?
.
Explain why these loops have the shape that they do.

Answers

Answer:

1) The speed of the roller coaster at the bottom is approximately 15.65 m/s

2) The acceleration of the roller coaster at the bottom is 6·g's

3) The high acceleration is 6 times the force of the weight of the  passengers

The high acceleration can cause gravity induced loss of consciousness

4) Please find attached a force diagram of the forces at the bottom of the roller coaster created with Microsoft Visio

5) For the acceleration at the bottom to be 2·g's the radius of the rollercoaster at the bottom should be 25 meters

5) The radius at the bottom of roller coasters are increased to reduce the normal force felt by the passengers as they pass the bottom of a circular roller coaster

Explanation:

1) The given parameters are;

The radius of the roller coaster, r = 5.0 m

The speed of the roller coaster = Minimum = 0 m/s

The shape of the roller coaster's path = Circular loop

Therefore, the maximum height of the roller coaster, h = The diameter of the of a circular path of the roller coaster, d = 2 × r = 2 × 5.0 m = 10.0 m

∴ h = 10.0 m

The minimum speed is f=given by the following equation;

[tex]F_N = \dfrac{m \cdot v^2}{R} - m \cdot g = 0 \ (At \ the \ top \ of \ the \ roller \ coaster's \ path)[/tex]

Therefore, we have;

[tex]\dfrac{m \cdot v^2}{R} = m \cdot g[/tex]

From which we have;

v = √(R × g)

Where;

R = The radius of the path of the roller coaster = 5.0 m

g = The acceleration due to gravity = 9.8 m/s² = constant

By plugging in the values of the variable, 'R', and the constant, 'g', we get;

v = √(5.0 m × 9.8 m/s²) = 7 m/s

The minimum speed of the roller coaster, v = 7 m/s

The speed of the roller coaster at the bottom is given by the conservation of energy formula as follows;

The energy at the top of the roller coaster = The energy at the bottom of the roller coaster

∴ The total mechanical energy of the roller coaster, M.E., is constant and at the top, [tex]M.E._{top}[/tex], is given as follows;

[tex]M.E._{top}[/tex] = 1/2·m·v₁² + m·g·h₁

At the bottom, the total mechanical energy is given as follows;

[tex]M.E._{bottom}[/tex] = 1/2·m·v₂² + m·g·h₂

Where;

v₁ = The velocity of the roller coaster at the top = 7 m/s

h₁ = The height of the roller coaster at the top = 10 m

v₂ = The speed of the roller coaster at the bottom

h₂ = The height of the roller coaster at the bottom = 0 m

g = The acceleration due to gravity = 9.8 m/s² = Constant

By plugging in the values, we get;

M.E. = [tex]M.E._{top}[/tex] = [tex]M.E._{bottom}[/tex]

∴ 1/2·m·v₁² + m·g·h₁ = 1/2·m·v₂² + m·g·h₂

1/2 × (7 m/s)² + 9.8 m/s² × 10.0 m = 1/2 × v₂² + 9.8 m/s² × 0 m

122.5 m²/s² =  1/2 × v₂²

∴ v₂² = 2 × 122.5 m²/s² = 245 m²/s²

v₂ = √(245 m²/s²) = 7·√5 m/s ≈ 15.65 m/s

The speed of the roller coaster at the bottom, v₂ ≈ 15.65 m/s

2) The normal force on the car at the bottom of the roller coaster is given as follows;

[tex]F_N = \dfrac{m \cdot v_2^2}{R} + m \cdot g = m \times \left(\dfrac{ v_2^2}{R} + g \right )[/tex]

Force, F = Mass, m × Acceleration, a

∴ F = m×a

Therefore, the acceleration at the bottom, 'a' by comparison of the general equation for force, 'F', and the normal force, [tex]F_N[/tex], is given as follows;

[tex]a = \left(\dfrac{ v_2^2}{R} + g \right )[/tex]

Plugging in the values for 'v₂²', 'R', ang 'g', gives;

[tex]a = \left(\dfrac{ v_2^2}{R} + g \right ) = \left(\dfrac{ 245}{5} + 9.8 \right ) = \left(49+ 9.8 \right ) = (5 + 1) \times 9.8 = 6 \times 9.8 = 6 \times g[/tex]

a = 6·g = 58.8 m/s²

3) The high acceleration will lead to a very high normal force (equal to 6 times each of their weight) experienced by the passengers with a force

The high acceleration is dangerous and can lead to gravity induced loss of consciousness since it is more than 3·g's

4) Please find attached the force diagram at the bottom of the roller coaster created with Microsoft Visio

5) For the acceleration at the bottom to be 2·g's, we have;

[tex]a = \left(\dfrac{ v_2^2}{R} + g \right )[/tex]

At a = 2·g, we have;

[tex]2 \cdot g = \left(\dfrac{ v_2^2}{R} + g \right )[/tex]

[tex]\therefore 2 \cdot g - g = g = \dfrac{ v_2^2}{R}[/tex]

[tex]R = \dfrac{ v_2^2}{g} = \dfrac{245}{9.8} = 25[/tex]

R = 25 m

The radius at the bottom of the roller coaster should be 25 meters so that only 2·g's is felt

5) The shape of the roller coaster has an increases the radius at the bottom so as to reduce the acceleration of the car

Question # 7
Long Text (essay)

In paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects

Answers

Answer:

To do this, engineers often use a technique called "brainstorming." Brainstorming is a team creativity activity that helps you generate a large number of potential solutions to a problem or challenge.

Engineers use the engineering design process when brainstorming solutions to real-life problems; they develop these solutions by testing and redesigning prototypes that work within given constraints.

Engineers will often use reverse-engineering to solve problems. For example, by taking things apart to determine an issue, finding a solution and then putting the object back together again. Engineers know how things work, and so they constantly analyse things and discover how they work.

Safeguarding personal data and personal wealth from cyberattacks. ...

Addressing climate change through engineering innovation. ...

Feeding the growing world population through cutting-edge bio-engineering and agricultural innovations. ...

Improving health and well-being through life sciences, nanotechnology, and bio engineering.

MARK ME AS BRAINLIST

Answer:

1) Prototyping is the process of experimental testing of samples of design, or model of a product with the possibility of the inclusion of control of parameters in order to determine the workability of a solution.

2) Simulation is the process of creating an imitation of a situation, operation or process which can be used to determine if a particular solution will be able to work as required in the simulated environment of a problem.

3) Calculations are used to find preliminary results of particular situations, their cause and effects based on scientific laws, theories and hypothesis such that the factor of the problem is equated with the available ideas to find the best possible solution.

Explanation:

The Marion County School District is planning to build a new elementary school near a commercial district. Which of the following types of construction companies would be best for the job?
A.Commercial
B.Institutional
C.Residential
D.Industrial

Answers

Answer:

B or C

Explanation:

Commercial has to be for things like political  and industrial is for making/providing things

C IT MAKES the most sense

If an electric dryer has a nameplate rating of 5.6kva what would you use for the service calculation?

Answers

If an electric dryer has a nameplate rating of 5.6kva, Kilovolt-amperes (kVA)  is often used for the service calculation.

What is a service calculation?

A service calculation is known to be the NEC given way or procedure that is used for sizing service conductors, service equipment, and others so that they can be able to meet the needed electrical demands of a home and office

Note that for a person to calculate dryer load, the use of Kilovolt-amperes (kVA) is often considered as it is equivalent to kilowatts (kW).

Hence, If an electric dryer has a nameplate rating of 5.6kva, Kilovolt-amperes (kVA)  is often used for the service calculation.

Learn more about electric dryer from

https://brainly.com/question/4997920

#SPJ1

Is a desk/table a solid, frame, shell or combination

Answers

The desk is a solid

What is the difference between Material Safety Data Sheets and Safety Data Sheets?

Safety Data Sheets do not include protective measures

Safety Data Sheets do not include health effects

Safety Data Sheets must have 16 user-friendly sections

There are no differences

Answers

Answer:

MSDS is Material Safety Data Sheets, whereas SDS just Safety Data Sheets

Explanation:

A: i do not know what answer is

a torque of 24 ft pounds is the result when a force of ______ pounds is applied to a wrench that is 18 inches long.​

Answers

Answer:

  16

Explanation:

The product of feet and pounds is the torque. 18 inches is 1.5 feet.

  (1.5 ft)(x lbs) = 24 ft·lbs

  x lbs = (24 ft·lbs)/(1.5 ft) = 16 lbs

The force will be 16 pounds applied to an 18-inch wrench to obtain 24 ft·lbs.

Answer:

16

Explanation:

⚠️I MARK BRAINLIST I AM BRING TIMED PIC INCLUDED⚠️Match the stage of the product development life cycle to the product that best represents it.
building complex systems
car engines employed for more than one model
reusing technology
sophisticated jet airliners
pushing a technology to market
the latest iPhone version

Answers

Sophisticated jet airliners
Car engines for more than one model
The latest iPhone model

bruuh its sum werid people on brainly

Answers

ikr, people are so darn odd these days it’s just an app

Answer:

what happend??

Explanation:

How much salt will one teaspoon of water dissolve? Complete this experiment to find out!

Materials:

salt
a small glass jar with a lid
water
measuring spoons
Follow these steps:

Carefully measure out 3 Tablespoons of cold water into the jar.
Now measure out 1/8 teaspoon of salt and put it into the jar with the water. Put the lid on the container and shake it. Keep shaking until the salt is completely dissolved. To determine whether it has completely dissolved, hold the container up to the light and look carefully at the bottom, or open the lid and look into it. If you see little grains of salt there, it is not completely dissolved, so keep shaking until it looks the same each time you look.
If the salt does not dissolve completely after five minutes of vigorous shaking, write this in your notebook and go on to step 4. If the salt dissolves completely, add another 1/8 teaspoon of salt and repeat the process. Repeat over and over, keeping track of how many 1/8 teaspoons you add. Stop when you can’t get the salt to dissolve no matter how hard or long you shake the container.
Record how much salt you were able to dissolve in the 3 Tablespoons of water in the solubility data table.
Repeat steps 1-4, but this time using very warm or hot water. Before you do it, run the jar under hot water to warm it up so the water doesn’t cool off right away. Be sure to use the exact same amounts of water and salt as you did the first time. The only variable should be the temperature of the water.
Record your results, and then compare with your previous results.
Answer the following questions:

Were there any differences in the amount of salt that dissolved in the warm water versus the cold water?

Write a conclusion based on your results, using the terms “temperature” and “solubility.”

Based on your results, answer this question: If the oceans of the earth got warmer from global warming, would the water of the oceans become more or less salty? What do you think the effect of this change in the ocean salinity (saltiness) would be on the plants and animals that live in the ocean?

Once you have completed the activity and answered all the questions, turn your assignment in here. To see how this assignment will be graded, click tHow much salt will one teaspoon of water dissolve?

Answers

Answer:it took 4 1/8th teaspoons

Explanation:

Answer:

The answer is on the document (not a link and won't break your device, promise).

Explanation:

Describe how you would set up a home network with modem internet sharing.

Answers

Answer: The term wireless describe telecommunications in which electromagnetic waves carry a signal over a network.

The operation of wireless devices in a home or office that provide reliability for businesses computer user is  wireless LAN (local area networks). in this a wireless LAN adapter is fitted in the personal computers.

Where does Henrietta think William might be?
the park
the cemetery
his favorite restaurant

Answers

Answer:

The cemetery

Explanation:

Answer:

B.) CEMETERY

Explanation:

Have a nice day!

Which of the following sentences are written correctly verbs

Answers

What are the sentences to answer the question?

2. It is a measuring instrument used to record the amount of
electrical consumption.
A. clamp meter B. micrometer
B.micrometer
C. steel rule
D. electric meter​

Answers

Answer:

The correct option is;

D. Electric meter

Explanation:

An electric meter is a metering device that is used for the measurement of the electric power consumption of an electrical powered tools, a living space or a building

Electric meter readings are used by electric utility company to sell electric power to consumers at a given rate such that it allows the electric utility company to receive payment for the total power supplied, and for the consumer to regulate the amount of power consumed

The electric meters are usually calibrated in kilowatt hour (kWh) and prepaid meter displays the amount of units of power bought, while post paid meters are usually read once each billing period which is usually one month.

DEFINE NEUTRALIZATION REATION?​

Answers

Answer:

I would go with when acid and a base react quantitatively with each other. as my answer for that

Neutralisation reactions are when reactants such as acids with bases forms salt and water.
Please mark me brainliest:)

can you help me with the engineering

Answers

Answer:

maybe depends on what it is about lol

A gear train has a ratio of 40/24 and the driving gear is turning 100 RPM.
What is the speed of the driven gear in RPM?

Answers

Answer:

S2 = 60 RPM.

Explanation:

Given the following data;

Gear ratio = 40/24 (T2 = 40 and T1 = 24).

Speed of driving gear = 100 RPM

To find the speed of the driven gear;

Mathematically, gear ratio in terms of speed (RPM) is given by this formula;

[tex] S_{1} * T_{1} = S_{2} * T_{2} [/tex]

Where;

S1 represents the speed of the driver gear.S2 represents the speed of the driven gear.T1 represents the number of teeth of the driver gear.T2 represents the number of teeth of the driven gear.

Substituting into the equation, we have;

[tex] 100 * 24 = S_{2} * 40[/tex]

[tex] 2400 = 40S_{2} [/tex]

[tex] S2 = \frac {2400}{40} [/tex]

S2 = 60 RPM.

Therefore, the speed of the driven gear is 60 revolutions per minute.

Technician A says a sway bar is used to control body lean when cornering.
Technician B says that adding additional leafs to a Leaf Spring increases its
capacity. Which is correct?



Technician B only

Answers

Answer:

technician B

Explanation:

because adding leaves increasing capacity

Which of these is a unit of heat?
A.
joule
B.
watt
C.
kelvin
D.
joule/kelvin
E.
mole

Answers

Answer:

D

Explanation:

Both the joule and the kelvin represent heat. Kelvin is a unit of measurement for temperature and joule is more heat energy.

Answer:

Joules

Explanation:

It's heat

What are the transfer of energy for the 6 simple machine? Ex: inclined plane is gravitational potential energy to mechanical energy. What are the rest?

Answers

Answer:

I. Inclined plane: GPE to KE.

II. Screw: KE to GPE.

III. Wheel and axle: GPE to KE.

IV. Lever: GPE to KE.

V. Wedge: GPE to KE.

VI. Pulley: GPE to KE.

Explanation:

A simple machine can be defined as a type of machine with no moving parts but can be used to perform work.

Basically, a simple machine allows for the transformation of energy into work. The six simple machines are;

I. Inclined plane: gravitational potential energy to mechanical energy (kinetic energy). It is set at an angle and then used to lift an object.

II. Screw: kinetic energy to potential energy. It is held in position and then used to tighten two or more objects together.

III. Wheel and axle: gravitational potential energy to mechanical energy (kinetic energy). It comprises of two circular objects which aids in the motion of an object such as a car.

IV. Lever: gravitational potential energy to mechanical energy (kinetic energy). It comprises of a pivoted bar at a fixed point (fulcrum) that allows it to be used for lifting heavy objects.

V. Wedge: gravitational potential energy to mechanical energy (kinetic energy). It can be used to split objects into halves.

VI. Pulley: gravitational potential energy to mechanical energy (kinetic energy). It is made up of a wheel and rope which allows force to be multiplied such as in a drawing well.

Energy can be defined as the ability (capacity) to do work. The two (2) main types of energy are;

a. Gravitational potential energy (GPE): it is an energy possessed by an object or body due to its position above the earth.

b. Kinetic energy (KE): it is an energy possessed by an object or body due to its motion.

what are the inputs and outputs of a sailboat?

Answers

Answer:

sailing ships were the primary means of maritime trade and transportation; exploration across the seas and oceans was reliant on sail for anything other than the shortest distances. Naval power in this period used sail to varying degrees depending on the current technology, culminating in the gun-armed sailing warships of the Age of Sail.

Which of the following is NOT an example of a direct cost of workplace injuries?

Medical expenses

Workers’ compensation payments

Cost for legal services

Lost productivity

Answers

Answer:

Lost productivity

Other Questions
22. What is the area of minor sector DFE?79.3 square cm15.2 square cm37.9 square cm66.1 square cm Avis needs some relief from the responsibilities of providing care for her husband. the social workers at aging alternatives indicates that she will most likely locate respite care through ______. What are the answers to quick check for 13-2 equivalence with customary units of capacity in savvas 4. (a)(i)Show that log4x=2log16x. (ii)Show that log x=3logb x. (iii) Show that logx=(1+log3)logix. five fundamental economic problems The graph shows the solution to a system of inequalities:peWhich of the following inequalities is modeled by the graph?O 2x + 5y = 14; x = 0O2x + 5y s 14; x 20O2x - 5y 14; x 20O-2x - 5y 14; x = 0 Clue 1The number has three digits.Clue 2 The number is less than 140.Clue 3 The number has 7 as a factor.Clue 4 The number is even.Clue 5 The sum of the digits of the number is less than 9. Cual es el conector de la oracion traicionastes mi confianza por eso no te perdono Several uses of Fungi are...They are used in making bread and cheeseThey are used in making some medicinesThey are the decomposers in many ecosystemsThey reproduce by spores a consumer decision requires information on which of the following The probability that the daughter of a woman with a dominant disease-causing allele on one X chromosome and a normal male will be affected with the disorder is ________ . If demand increases, ceteris paribus, market price will be ______ at the new equilibrium point. 25 mice were involved in a biology experiment involving exposure to chemicals found in ciggarette smoke. 15 developed at least 1 tumor, 9 suffered re[iratory failure, and 4 suffered from tumors and had respiratory failure Noah has a summer tree-trimming business. Based on experience, Noah knows that his profit, P, in dollars, can be modelled by = 3^2 + 150 1200, where x is the amount he charges per tree. 1. How much does he need to charge if he wants to break even? 2. How much does he need to charge if he wants to make a profit of $600? 15v - 2v + 29 = 5v - 27 _____ is the art and science of trying to get people to do what you want (DOK 1, Standard Standard 2.1.N Evaluate internal and external influences that affect food choices.) An adult client consumed 20 g of protein and had a total nitrogen loss of 10 g. The client's nitrogen balance would most appropriately be described as: A stone X of mass 2 kg is at the height of 20m in two minutes, calculate the power delivered. [g=10 m/s-2] In Lei Liang flute concerto, the flute soloist creates a sound quality resembling that of the ney by doing what while playing A sikh temple is called a:_________ A. Guru. B. Gurdwara. C. Kesa. D. Kara