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
Dovator [93]
3 years ago
14

Describe how you can use multiple arguments in a method.

Computers and Technology
1 answer:
stich3 [128]3 years ago
8 0

Answer:

name(argument_1, argument_2, argument_3,.......);

Explanation:

The function is a block of the statement which performs the special task.

Syntax for calling the function:

name(argument_1, argument_2, argument_3,.......);

we write the name of the function and passed the arguments.

we can pass any number of arguments with separator ',' in the function calling.

for example:

1. print(name, value, count, a, b);

2. print(name, value);

Here, name, value, count,a and b are the arguments of the function.

if we does not pass any argument, the function still valid in the programming.

we can pass from Null to any number of argument.

You might be interested in
Write a complete program that declares an integer variable, reads a value from the keyboard into that variable, and writes to st
NNADVOKAT [17]
The programming language to use here is not stated, so standard output is not clear. A solution using text boxes for input and output can be given in Delphi:

unit Unit2;
interface
uses  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,  Dialogs, StdCtrls;
type  TForm2 = class(TForm)   
Edit1: TEdit;   
Edit2: TEdit;   

procedure FormCreate(Sender: TObject); 
private    { Private declarations } 
public    { Public declarations } 
end;
var  Form2: TForm2;
implementation
{$R *.dfm}
procedure TForm2.FormCreate(Sender: TObject);
var   i: integer;   
txtline: string;
begin   
    i := StrToInt(edit1.text);   
    txtline := IntToStr(i) + ', ' + IntToStr(2 * i) + ', ' + IntToStr(i * i);   edit2.text := txtline;
end;
end.


6 0
3 years ago
What does GEOSYNCHRONICE SATELLITE use for?​
Elanso [62]

Answer:

The Geosynchronous Satellite is mainly used for sending data and information to the spacecraft from one of the centers on Earth. It is also used for communication between the center on Earth and the spacecraft.

4 0
3 years ago
Read 2 more answers
Justify the need for branching and jump codes in the instruction set using real world scenarios
topjm [15]

Answer:

As in the real world, people using a program would provide different inputs, that would require different outputs. For example in a traffic light system, there could be a function that constantly checks for if the button is pressed. When the button is pressed the traffic light loop would branch out of its current running code in order to turn the lights to red, and allow the pedestrians to cross.

8 0
3 years ago
What is indirect recursion?
marshall27 [118]
Most basic examples of recursion, and most of the examples presented here, demonstrate direct recursion, in which a function calls itself. Indirect recursion occurs when a function is called not by itself but by another function that it called (either directly or indirectly). For example, if f calls f, that is direct recursion, but if f calls g which calls f, then that is indirect recursion of f. Chains of three or more functions are possible; for example, function 1 calls function 2, function 2 calls function 3, and function 3 calls function 1 again.

Indirect recursion is also called mutual recursion, which is a more symmetric term, though this is simply a difference of emphasis, not a different notion. That is, if f calls g and then g calls f, which in turn calls g again, from the point of view of f alone, f is indirectly recursing, while from the point of view of g alone, it is indirectly recursing, while from the point of view of both, f and g are mutually recursing on each other. Similarly a set of three or more functions that call each other can be called a set of mutually recursive functions.
3 0
3 years ago
While technology has impacted many aspects of marketing. it has had little effect on database marketing
grigory [225]
The answer you’re looking for is “false.”
8 0
4 years ago
Read 2 more answers
Other questions:
  • What is a main cause of a virus on a computer
    6·1 answer
  • True or False? In C++, the expression (a + b / c) / 2 is implicitly parenthesized as ((a + b) / c) / 2.
    9·1 answer
  • Which letter indicates the amplitude of the wave?<br> a. A<br> b. B<br> c. C<br> d. D
    12·1 answer
  • O que é sistema distribuido?
    8·1 answer
  • Excel can display characters in only three font colors: black, red, and blue. (points : 2) true false
    11·1 answer
  • Signals that can travel in only one direction on a medium are referred to as what type of signal?
    12·1 answer
  • Which user characteristic may not be used to change keyword bids in adwords?:?
    11·1 answer
  • Code Example 17-1 class PayCalculator { private: int wages; public: PayCalculator&amp; calculate_wages(double hours, double wage
    8·1 answer
  • During an election year, why would a senator want to determine a mode?
    11·1 answer
  • an attacker is attempting to crack a system's password by matching the password hash to a hash in a large table of hashes he or
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!