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
gavmur [86]
3 years ago
14

Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of th

e parameter .
Computers and Technology
1 answer:
Kipish [7]3 years ago
5 0
<span>public static int methodName(int a, int b){
      a = a * 2;
      b = b * 2;
}
</span><span>int result = doubling(5, 10<span>);
System.out.println(result);
//result would be 10, 20</span></span>
You might be interested in
An engineer plans to connect three switches (SW1, SW2, and SW3) in a lab. Before connecting the switches, he starts by configuri
g100num [7]

Answer:

c. All use SW3's database because SW3 has the highest revision number.

Explanation:

In this particular configuration, the three switches will definitely be connected to one another by the presence of some path with the specific trunks. As a result, the database with the most revision number will ultimately win. The process of the STP election does not have any influence on the selection of the VTP.

4 0
3 years ago
Write a function in Erlang called func that takes a list of tuples and returns a new list consisting of tuples from the original
vovikov84 [41]

Answer:

Please find the complete question in the attached file.

Explanation:

Following are the code to the given question:

-module(helloworld)//use a module

-export([start/0])

start() ->//start module

func([Head Taill) ->//defining a method func that takes a parameter

{

first, second} = Head,//holding head value

if //defining if block

first > second -> func(Tail)//method func that takes a parameter

true ->

[first, second}|func(Tail)]//method func that takes a parameter

end

6 0
3 years ago
What is the financial aspect for a business as to what database software they will buy?
Masteriza [31]

Answer:  Database software is bought on basis of the processing, cost, requirement etc for any particular . According to the financial perspective the database  software should have the following characteristics:-

  • Database software that has most accurate and main feature according to the business requirement is selected for buying and the others with extra features are not considered as more feature cost more amount  which is not needed.
  • Database software which is still in progress to be built is pre-booked and money is invested on it because the price of the required software might increase after getting completed.
  • Scalable database software should be bought so that it can extend according to need at low cost.

 

8 0
4 years ago
write a pseducode that will ask the user to enter the amount of a purchase. The program should then compute that state and provi
stira [4]

The pseudocode of the program is simply a prototype of the actual program

<h3>How to write the pseudocode?</h3>

The pseudocode that does the requirements in the question is as follows:

  • Start
  • Get Input for amount of purchase
  • Compute the state tax: sales tax = sales tax percentage * amount
  • Compute the provisional sales tax: provisional sales tax = provisional sales tax percentage * amount
  • Print the taxes

Read more about pseudocode at:

brainly.com/question/24735155

#SPJ1

7 0
2 years ago
Larry sent an email to Andy. Andy didn't open Larry's email but still understood what the message was. How did Andy determine th
Sladkaya [172]

Andy knew what the message was because of the subject you are required to add in almost all email sights.

7 0
3 years ago
Other questions:
  • A technician is troubleshooting a PC with multiple volumes. To verify which are active and assigned drive letters, the technicia
    9·1 answer
  • To connect multiple usb devices to a single usb port, a ____ can be used.
    12·1 answer
  • A function that modifies an array by using pointer arithmetic such as ptr to process every value of the array should have a para
    11·1 answer
  • Which of the following is not a compilation error? Group of answer choices a. Placing a semicolon at the end of the first line o
    13·1 answer
  • To save a file so that it can be opened on most computers, select the ____ option.
    10·2 answers
  • Which of the following is not one of the Generally Accepted Recordkeeping Principles ("The Principles®")? a. Accountability b. S
    11·1 answer
  • Sarah needs help with a presentation that she is giving the next day. What are the best ways for her to share her work to get im
    7·2 answers
  • 1. Haruto was a programmer working in the early 2000s. Which kind of program or language was
    5·1 answer
  • Write a function named swapFrontBack that takes as input a vector of integers. The function should swap the first element in the
    9·1 answer
  • All character entities end with _____ to signal the browser that everything in between is an entity representing a symbol.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!