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
Hunter-Best [27]
4 years ago
12

Which of the following is a correct method header for receiving a two-dimensional array as an argument?A.public static void pass

Array(int[1,2])B.public static void passArray(int [ ][ ])C.public static void passArray(int[1],[2])D.public static void passArray(in[ ], int[ ])
Computers and Technology
1 answer:
allochka39001 [22]4 years ago
3 0

Answer:

The correct option for this question is "B".

Explanation:

An Array is a collection of the homogenous(same type) elements. In the programming language, the correct way to pass two-dimensional array in function as an argument is option "B" and other options are not correct that can be described as:

  • In option, A It is a one-dimensional array but it is not a correct way to pass array in an argument like this.
  • In option, C It is a two-dimensional array but in this array, we do not pass any number.
  • In option, D it is not a two-dimensional array.    

That's why the answer to this question is option "B".

You might be interested in
How do say phone in French?
olga_2 [115]

Answer:

téléphone

Explanation:

thats how you say phone in French also you can go on Google translate or word reference to translate words.

6 0
4 years ago
Read 2 more answers
What do you click to move to the next cell in the row?
e-lub [12.9K]
Hold down the Ctrl key (Windows)/Cmd key (Mac) andclick the row numbers that youwant to move to highlight them.Click and drag one of the rownumbers to move them all to anew location.


hope it helped
3 0
4 years ago
A data table is a range that displays what?
shutvik [7]

Answer:

D. The results of changing certain values in one or more formulas

Explanation:

On edge

8 0
3 years ago
Read 2 more answers
scheduling is approximated by predicting the next CPU burst with an exponential average of the measured lengths of previous CPU
dexar [7]

SJF scheduling is approximated by predicting the next CPU burst with an exponential average of the measured lengths of previous CPU bursts.

<h3>What is SJF in operating system?</h3>

SJF is a term that connote Shortest Job First. It is said to be a type of CPU scheduling whose algorithm is linked with each as it is said to process the length of the next CPU burst.

Note that for one to be able to know the time for the next CPU burst to take place, one need to take the SJF into consideration as that is its function.

Hence, SJF scheduling is approximated by predicting the next CPU burst with an exponential average of the measured lengths of previous CPU bursts.

See options below

A) Multilevel queue

B) RR

C) FCFS

D) SJF

Learn more about scheduling from

brainly.com/question/19309520

#SPJ1

3 0
2 years ago
For this assignment, you will write a program that calculates gross and net revenue for a movie theater. Consider the following
Marrrta [24]

Answer:

// This program is written in C++

// Comments are used for explanatory purpose

#include<iostream>

using namespace std;

int main()

{

// Declare variables

int childticket, adultticket, childprice, adultprice;

double total, net, distributor;

string movie;

// Prompt user for name of movie

cout<<"Movie Name; ";

// Accept input for movie name

cin>>movie;

// Prompt user and accept input for price of adult tickets

cout<<"Adult Ticket Price: $";

cin>>adultprice;

// Prompt user and accept input for price of child tickets

cout<<"Child Ticket Price: $";

cin>>childprice;

// Prompt user and accept input for number of sold adult tickets

cout<<"Adult Ticket Sold: ";

cin>>adultticket;

// Prompt user and accept input for number of child tickets sold

cout<<"Child Ticket Sold: ";

cin>>childticket;

// Calculate total

total = childticket * childprice + adultticket * adultprice;

// Calculate distributor's payment

distributor = 0.25 * total;

// Calculate net box pay

net = 0.75 * total;

// Display and format results

cout<<"Gross Box Office Revenue: $";

printf("%.2f",total);

cout<<"\n Amount Paid to Distributor: -$";

printf("%.2f", distributor);

cout<<"\nNet Box Office Revenue: $";

printf("%.2f",net);

return 0;

}

6 0
3 years ago
Other questions:
  • In Microsoft word,when you highlight existing text you want to replace ,you’re in?
    12·1 answer
  • The primary role of the firewall is to: block unauthorized access to and from the system. quarantine any malware until it can be
    11·1 answer
  • What is the purpose of primary manufacturing processes?
    12·2 answers
  • What does the image depict:
    14·1 answer
  • What is the importance of charts and graphics in providing<br> information?
    15·1 answer
  • Assume that you have implemented a sequence class. Describe the mySequence object (i.e., items with the correct order and the po
    9·1 answer
  • 2. 25 POINTS!!!!!!!!!
    8·2 answers
  • Wap to calculate the simple interest for the given PTR​
    14·1 answer
  • Study the graph and answer the questions. The numbers on the left side of the graph are in thousands.
    13·1 answer
  • List four safety factors that must be considered when building mine shaft headgear model
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!