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
Lera25 [3.4K]
3 years ago
8

Add is a function that accepts two int parameters and returns their sum.

Computers and Technology
1 answer:
Rashid [163]3 years ago
5 0

Answer:

Solution code is written in Java.

  1.   public static void main(String[] args) {
  2.        int eurasiaSales = Add(10000, 20000);
  3.    }
  4.    public static int Add(int euroSales, int asiaSales){
  5.       return euroSales + asiaSales;
  6.    }

Explanation:

Firstly, create a function <em>Add() </em>that takes two int parameters, <em>euroSales</em> and <em>asiaSales</em>. This function return the sum of<em> euroSales</em> and <em>asiaSales</em> (Line 5-6).  

Next, we can simply call the function by passing two integers (place them in parenthesis). The returned value from the function will be assigned to variable <em>eurasiaSales</em>.

You might be interested in
Another way to create a new presentation is from the Home tab
prohojiy [21]

Answer:

True

There’s no question and when someone makes a statement normally it’s true or false sooooo.....

4 0
2 years ago
Read 2 more answers
A blue NFiPA label indicates: A) Health Hazard B) Special information C) Flammability D) Reactivity
elena55 [62]
Your answer would be A: Health Hazard
8 0
2 years ago
Read 2 more answers
Reading for subject content follows the same steps as reading for entertainment. True or false.
marshall27 [118]

The answer is false.  There is a difference between reading for entertainment or leisure and reading for subject content.  In the latter, you have to scan what you are reading carefully.  There are keywords and sentences that you have to watch out for to get the whole idea of the document that you are reading.

5 0
3 years ago
Read 2 more answers
Brainliest
olya-2409 [2.1K]

Answer:

browsing history

Explanation:

....

6 0
2 years ago
Read 2 more answers
the easiest and cheapest time to alter the information system is in the ________ phase of the sdlc. a. requirements analysis b.
nignag [31]
I would think its the "<span>requirements analysis" phase.

Because the </span>requirements analysis<span>,</span><span> is the process of determining user expectations for a new or modified product.</span>
7 0
3 years ago
Other questions:
  • Fix the 2 error codes.
    14·1 answer
  • The World Wide Web (WWW) is a network of links on the Internet to documents containing text, graphics, video, and sound, but doe
    10·1 answer
  • What makes iron man different from other superheroes ? why is iron man the best superhero ??
    5·2 answers
  • You have a web application hosted in AWS cloud where the application logs are sent to Amazon CloudWatch. Lately, the web applica
    7·1 answer
  • Can change the tab colors of the worksheets in excel
    13·1 answer
  • which of the following devices and and receive information from other device? a parallel port B serial port C video port d both
    8·1 answer
  • [If you were the queen of the world .... What would you change ?]
    14·1 answer
  • Write a function magicCheck that takes a one-dimensional array of size 16, a two-dimensional array of four rows and four columns
    10·1 answer
  • ______________ are used to store information that will be referenced and manipulated in a computer program. They label data with
    6·1 answer
  • What would be printed to the screen when the following program is run?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!