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
SCORPION-xisa [38]
4 years ago
8

Which passage form the passage best contributes to elisa impatient tone

Computers and Technology
1 answer:
dusya [7]4 years ago
4 0
You need to attach a document of where i would read it from
You might be interested in
Max magnitude Write a method maxMagnitude() with two integer input parameters that returns the largest magnitude value. Use the
Ira Lisetskai [31]

Answer:

The java program is as follows.

import java.lang.*;

public class Numbers

{

   //variables to hold two numbers

   static int num1=-8, num2=-2;

   //method to return integer with higher magnitude

   public static int maxMagnitude(int userVal1, int userVal2)

   {

       if(Math.abs(userVal1) > Math.abs(userVal2))

           return userVal1;

       else    

           return userVal2;

   }

public static void main(String[] args) {

    int max = maxMagnitude(num1, num2);

 System.out.println("The number with higher magnitude among "+num1+ " and "+num2+ " is "+max);

}

}

OUTPUT

The number with higher magnitude among -8 and -2 is -8

Explanation:

1. Two integer variables are declared to hold the two numbers. The variables are declared at class level (outside main()) and declared static.

2. The variables are initialized with any random value.

3. The method, maxMagnitude(), takes the two integer parameters and returns the number with higher magnitude. Hence, return type of the method is int.

public static int maxMagnitude(int userVal1, int userVal2)

4. This method finds the number with higher magnitude using the Math.abs() method inside if-else statement.

               if(Math.abs(userVal1) > Math.abs(userVal2))

                   return userVal1;

        else    

                   return userVal2;

5. Inside main(), the method, maxMagnitude(), is called. This method takes the two variables as input parameters.

6. The integer returned by the method, maxMagnitude() is assigned to a local integer variable, max, as shown.

      int max = maxMagnitude(num1, num2);

7. The result is displayed to the user as shown.

System.out.println("The number with higher magnitude among "+num1+ " and "+num2+ " is "+max);

8. The class variables and the method, maxMagnitude(), are declared static so that they can be used and called inside main().

9. The variable, max, is called local variable since it can be used only within the main() where it is declared. It is not declared static.

10. The class is declared public since it has the main() method and execution begins with main().

11. The program is saved with the same name as the name of the public class having main(). In this case, the program is saved as Numbers.java.

12. No user input is taken for the two input parameter values. The static variables can be assigned any integer value and the program can be tested accordingly.

8 0
4 years ago
For which tasks would Excel be useful? Check all that apply.
viktelen [127]

Answer:

Creating charts or graphs

Bringing data together

Storing Financial data

Explanation:

Excel is great at creating charts and graphs

Also good at compiling data

You wouldn't necessarily want to type an essay in excel, so not for writing an essay

You cannot schedule appointments through excel, although I guess if you really wanted to you could organize them in excel

Excel is fine for storing financial data, you can even manipulate it in the program

You cannot draw conclusions using excel directly, although you can organize data in such a way using excel that it makes it easy to identify trends and such for you to draw your conclusions

5 0
3 years ago
. How are returnspredicted in modern microprocessors?
gayaneshka [121]

Answer:

Return are predicted in the modern microprocessor as, branch predictor is the modern method for the processor for the prediction. The basic function of the branch predictor is improving in the pipeline instruction. It is basically the important part for implement the execution and the pipe lining. And the return predicted uses the call by reference technique for the data in instruction.

5 0
3 years ago
If an algorithm created to help make hiring decisions is based on previous unfair decisions, then the algorithm may be
Sergio [31]

If an algorithm created to help make hiring decisions is based on previous unfair decisions, then the algorithm may be flawed.

<h3>What are algorithms being used for?</h3>

Algorithms are known to be tools that are made to help in calculation, data processing, and a kind of automated reasoning.

Hence, If an algorithm created to help make hiring decisions is based on previous unfair decisions, then the algorithm may be flawed.

Learn more about algorithm from

brainly.com/question/23282908

#SPJ1

6 0
2 years ago
What are expansion cards used for?​
S_A_V [24]

Answer:

an expansion card is a PCB that fits into an expansion slot on a desktop computer. An expansion card is used to give a computer additional capabilities, such as enhanced video performance via a graphics card.

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • On the UB-04 claim form, the type of bill is identified by a four-digit numerical code. The first digit is a leading zero, what
    10·1 answer
  • DSSS uses a chipping code to encode redundant data into the modulated signal. Which two of the following are examples of chippin
    12·1 answer
  • Which camera options shows time to be slowly
    5·1 answer
  • Which step of the laser printer imaging process requires troubleshooting if a printer produces ghost images on output pages?
    13·1 answer
  • What is the small ribbon inside a microphone that pick up vibrations
    7·1 answer
  • What is the term meaning a Java object that has attributes and methods?
    12·1 answer
  • What are the characteristics of 1st generation computers​
    9·2 answers
  • What predefined match policy allows viewers to watch a claimed video but does not allow ads to display on the video
    11·1 answer
  • 1. Using a microphone to create an audio file to accompany a message is an example of how data is processed and sent to an outpu
    9·1 answer
  • How do IT Support professionals measure success? Choose all answers that apply. You will get credit for all answers that are cor
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!