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
At your job, you often have to address letters to the customer support manager, Tyson Kajewski. The problem is that you are cons
krek1111 [17]
Input his name in the dictionary function, you can also copy the given name an paste as much as you need
5 0
3 years ago
Thiết kế biểu đồ thực thể liên kết và tập lược đồ cơ sở dữ liệu quan hệ cho các bài toán quản lý sau:
Paladinen [302]

Answer:

sorry please write in English than i help.you i don't understand your language

3 0
3 years ago
3.<br>What is the meaning of *.VBP.<br>​
Kisachek [45]

Answer:

The meaning of VBP is Visual Basic Project

7 0
2 years ago
Read 2 more answers
A method can not be made final until whole class is madefinal.TrueFalse
Blababa [14]

Answer:

True.

Explanation:

A method can not be made final until whole class is madefinal.

4 0
3 years ago
Can you think of any other disruptive or nontraditional ways of earning that you could use the Internet?
denis23 [38]

Explanation:

The internet is a tool that has revolutionized the way communication is carried out. As it is a dynamic tool with easy access for any user, it is possible to use different platforms or social media to realize disruptive or non-traditional forms of earnings.

Some of them could be the dissemination of links that would generate advertising for other companies, or the free dissemination in social media of services, and several other innovations that use the internet as the main means to manufacture an extra income, such as online teaching, advertising for third parties etc.

7 0
3 years ago
Other questions:
  • Steps for turning off two step verification on ,for example, iPhones.
    7·1 answer
  • How do you open Microsoft Excel 2013 with Windows 8?
    13·1 answer
  • Using ajax technologies and apis, websites and applications can pull information from a variety of sources in order to create __
    8·1 answer
  • Why is a class an excellent representation of an abstract data type?
    15·1 answer
  • Best way to build a model bridge
    5·2 answers
  • Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90)
    5·1 answer
  • ¿Que es la energía? (una sola respuesta es la correcta)
    11·1 answer
  • The way a student prepares for a test or reviews academic material is referred to as
    8·2 answers
  • Consider the following code.
    7·2 answers
  • NAT addresses concerns over the dwindling IPv4 address space by ___________________. 1 point allowing networks to use fewer IP a
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!