A 2d array (i.e. 2 dimensional array) represents its elements in rows and columns
<h3>The program in Java</h3>
The method in Java, where comments are used to explain each line is as follows
//This defines the method
public static int diagSum(int[][] myArray) {
//This initializes sum to 0
int sum = 0;
//This iterates through each row of the array
for (int i = 0; i < myArray.length; i++) {
//This calculates the sum of the diagonals
sum+=myArray[i][i];
}
//This returns the sum
return sum;
}
Read more about methods at:
brainly.com/question/15969952
It might be spyware... but i might be wrong.
Answer:
I'll be using python:
__________________________
a=int(input("Enter a number :"))
b=int(input("Enter another number :"))
c=int(input("Enter last number :"))
lis=[a,b,c]
sort=sorted(lis)
print("The largest number is:", sort[1])
___________________________
Depends on your budget and usage.
If no/low budget and happy with speed of current computer - replace network card or get an USB network card to resolve no wifi signal issue.
If no problem with budget - get a brand new latest computer.
Remember, it’s your data in the computer that worth a lot,computer hardware doesn’t cost that much and can be easily replaced.
Dynamic random access memory