Answer:
10
Explanation:
num1=3 and num2=2
num3=myproc(num1)+myproc(num2)
myproc(num1) results 6
myproc(num2) results 4
when we add both e get 10
Answer:
c. Cloud computing
Explanation:
Cloud computing -
It refers to the on - time need of the computer resource , in order to store data , computing power by the user , is referred to as cloud computing.
It refers to the availability of the data centers to the user .
This method enables the sharing of resources .
Hence, from the information of the question,
The correct option is c. Cloud computing .
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
Answer:
B. The remainder when dividing a whole number by 2
Explanation:
A binary digit can have the values 0 or 1. The remainder from division of an integer by 2 will be 0 or 1. Hence that remainder can be represented by a single binary digit.
__
That fact can be used to do conversion of a number to binary.
Year = 1972
current year = 2021
while year <= current year:
print (year)
year = year + 4