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

3n - 12 = 5n - 2 how many solutions?

Computers and Technology
1 answer:
Luda [366]3 years ago
6 0
N=-5 sry about the other guy stealing
You might be interested in
Write a static method middleValue that takes three int parameters, and returns a int . It should return the middle value of the
anygoal [31]

We use if-else structure to check the each possible scenario and return the median accordingly in the middleValue() method. The main is also provided so that you can test the method.

Comments are used to explain the each line.

You may see the output in the attachment.

public class Main

{

public static void main(String[] args) {

   

    //call the method for different scenarios

    System.out.println(middleValue(1, 2, 3));

    System.out.println(middleValue(1, 3, 2));

    System.out.println(middleValue(2, 1, 3));

    System.out.println(middleValue(2, 3, 1));

    System.out.println(middleValue(3, 1, 2));

    System.out.println(middleValue(3, 2, 1));

 

}

       //method that takes three int and returns an int

public static int middleValue(int n1, int n2, int n3) {

    //set the median as n1

    int median = n1;

   

    //check the situation where the n1 is the highest

    //if n2 is greater than n2 -> n1 > n2 > n3

    //if not -> n1 > n3 > n2

    if(n1 > n2 && n1 > n3){

        if(n2 > n3)

            median = n2;

        else

            median = n3;

    }

   

    //check the situation where the n2 is the highest

    //if n3 is greater than n1 -> n2 > n3 > n1

    //if not -> n2 > n1 > n3

    //note that we set the median as n1 by default, that is why there is no else part

    else if(n2 > n1 && n2 > n3){

        if(n3 > n1)

            median = n3;

    }

   

    //otherwise, n3 is the highest

    //if n2 is greater than n1 -> n3 > n2 > n1

    //if not -> n3 > n1 > n2

    //note that we set the median as n1 by default, that is why there is no else part

    else{

        if(n2 > n1)

            median = n2;

    }

   

    return median;

}

}

You may see another if-else question at:

brainly.com/question/13428325

6 0
3 years ago
Which event occurred in the 1990s?
Amanda [17]

Answer:

C) Sun Microsystems released Java.

Explanation:

Sun Microsystems released in May 1995.  Of course, Sun Microsystems was then bought by Oracle.  Today, it's said that Java is the most commonly used programming language and that over over 3 billion devices use it.

It was created by James Goesling, a Canadian from Calgary, Alberta.

Let's check the other dates to be sure:

A) Niklaus Wirth developed Pascal. : 1970

B) The Department of Defense released Ada.  1980

D) Bjarne Stroustrup developed C++.: 1985

5 0
3 years ago
Explain the changing of work and enterprises due to the availability of EFTPOS?
kolbaska11 [484]
Who benefits from piracy?



5 0
3 years ago
How did imperialism lead to WWI? A The debate of the morality of imperialism created tensions around Europe b Native people were
Sati [7]

Answer:

d. European nations competed and made alliances to control colonies.

Explanation:

The world War I was a period of battle between various countries from 1914 to 1918. It started formally on the 28th of July, 1914 and ended on the 11th of November, 1918.

Imperialism can be defined as a policy, ideology, or advocacy that sought to extend a country's power, dominion, authority and influence over another country through diplomacy, use of military force or colonization (direct territorial acquisition).

This ultimately implies that, imperialism is an advocacy or policy that is typically used to impose or extend a country's power, dominion, authority and influence. It simply means to seek colonies of other nations or countries.

Hence, imperialism led to WW1 because European nations competed and made alliances to control colonies.

In conclusion, there was an eagerness on the part of European Nations to gain colonial territories that were owned by other rival nations.

8 0
3 years ago
3. What workplace hazards can be found on picture A?
vekshin1

Answer:

<h2>Hakdog</h2>

Explanation:

<h3>kase hakdog ka kainin mo tite ko</h3>
8 0
3 years ago
Other questions:
  • The Apple II is an IBM-compatible PC "clone.
    8·1 answer
  • The atomic number of oxygen is 8. the atomic mass of oxygen is 16. him many neutrons does oxygen have
    12·1 answer
  • A(n) ________ is usually a live broadcast of audio or video content. Select one: A. instant message B. webcast C. podcast D. wik
    11·2 answers
  • Place the following discoverers in the correct chronological order of the timeframe for their discoveries, from earliest to most
    5·1 answer
  • Which of the following could not be represented by columns in the SPSS data editor? a. Levels of between-group variables. b. Lev
    11·2 answers
  • Which Tab provides the command to add a hyperlink to a document?
    11·2 answers
  • ওয়ার্ড প্রসেসিং এ একটি সাধারন ডকুমেন্ট প্রিন্ট করার পদ্ধতি বর্ননা কর?answered
    8·1 answer
  • When using the Photo Album dialog box, a picture
    13·2 answers
  • Give three general reasons for the importance of computer networking.
    9·1 answer
  • Why is color important for all objects drawn ?​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!