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
Margaret [11]
3 years ago
8

Analyze the following code: After the loop, the last column of matrix 10, 10, 10, 10, 10. After the loop, the last row of matrix

10, 10, 10, 10, 10. After the loop, the last row of matrix 0, 0, 0, 0, 0. After the loop, the last row of matrix 0, 0, 0, 0, 10. A syntax error, because column is not defined.
Computers and Technology
1 answer:
Alex_Xolod [135]3 years ago
3 0

Answer:

given below

Explanation:

last column of matrix 10, 10, 10, 10, 10

int col = 10;

int [][] = new matrix [5][5];

for ( col = 0 ; col < matrix[4].length; col ++)

[col]=10;

int row = 10;

int [][] = new matrix [5][5];

for ( row = 0 ; row < matrix[4].length; row ++)

[row]=10;

or

int v = matrix [0][0];

for ( int i = 0 ;i< matrix .length;i++)

for ( int j=0;j<matrix.length;j++)

if (

if(v<matrix[i][j])

v=matrix[i][j];

return v;

or

loop, the last row of matrix 0, 0, 0, 0,

int row = 0;

int [][] = new matrix [5][5];

for ( row = 0 ; row < matrix[4].length; row ++)

int col= 0;

int [][] = new matrix [5][5];

for ( row = 0 ; col < matrix[4].length; col ++)

int col;

int [][] = new matrix [5][5];

for ( row = 0 ; col < matrix[4].length; col ++)

A syntax error, because column is not defined.

You might be interested in
Try to crack the code:
ololo11 [35]

Answer:001101110010010100011011010110010011100100100000001100100100110001000010001101100100010100100000001101100100100001010001010101001101001010

Explanation:

i copied

3 0
2 years ago
you are the manager of a virtual team that is working on a project. You uploaded a Word document to an OneDrive account that you
Valentin [98]

He can simply right click on the file and select restore previous versions. Instead of the manager choosing to recreate the Word document from scratch, he can recover the initial and previous version of the file. Once he has clicked the “Restore previous versions” option, a list of available items will pop. He will click the version he would like restored and click “Restore”

6 0
3 years ago
Identify the independent and dependent variable in the statement: the number of hours studying for a class and the grade earned.
Mandarinka [93]
C. because they grade your get 'depends' on how many hours you study. Independent variables are also known as controlled variables which basically means that you control that variable for example the temperature of a room.

Hope it helps.
8 0
3 years ago
The following method in Inventory is intended to count how many batteries are fully charged. What should replace /*Missing Code
OverLord2011 [107]

Trees are the most important part of our environment. They are having a direct impact on our lives. We can’t breathe except the existence of trees in the world. They leave the most important thing oxygen for us. But it is a matter of sorrow that day by day, the tendency of deforestation has been increased in the peak. It has been a matter of afraid now.

Due to the high tendency of deforestation, the world is lacking enough amount of oxygen. We need to plant more and more trees to make it normal. We have seen lots of examples that the world will face a hard time except for the existence of trees. Already, lots of species of trees have been extinct.

To fight against all the environmental odds, we need to grow more trees. The best time of growing trees is the rainy season. The soil has the best capacity to grow trees in this season. Trees have lots of uses for our regular life. We can make money and maintain our life with it. It is the biggest source of food.

If you plant lots of fruit trees, you can make a business on it. From today, we all need to start planting more and more trees.

4 0
3 years ago
Extension: Cash Register Program
Evgesh-ka [11]

Answer:

hee hee 4 you are correct

Explanation:

6 0
3 years ago
Other questions:
  • What item on a business card is generally the most prominent?
    13·2 answers
  • What part of the communication feedback loop results in unclear communication?
    13·1 answer
  • Given the following business scenario, create a Crow's Foot ERD using a specialization hierarchy if appropriate. Granite Sales C
    12·1 answer
  • 8. A pattern of being late for work or for appointments is usually
    12·1 answer
  • What are all the folders located on the DOCK called?
    11·1 answer
  • Write a program that reads raw data from a file that contains an inventory of items. The items should be sorted by name, and the
    12·1 answer
  • To rotate text in a cell select the option in the alignment grouping
    9·2 answers
  • Nielsen purchases scanner data from retail transactions to track the sales of consumer packaged goods, gathered at the point of
    14·1 answer
  • After conducting interviews with several bad candidates, Althea, a manager at Langrover Inc. interviewed a candidate who was bet
    15·1 answer
  • Drag the right word to it’s definition
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!