<span>There should be no need to have white-collar employers just next to factories thanks to the Information Revolution, and it enabled executives to stay in home, write documents, and send them easily.</span>
{{5,10,15,20},{25,30,35,40}} is answer where zero is not found.
<u>Explanation:</u>
This program finds zero in giving as arrays of value as a parameter. The program has two loop. One is a row of the array and the other is column loop for each row o an array. For loop is created with a variable namer row and the loop ends with a length of the array of each row.
In side row for loop col loop is created and loop ends with each row-column length of cells. If data in each cell i.e (row, col) calue is zero it returns true and the loop is terminated immediately.
In case if the value of the cell doesn’t found zero it never terminates the loop and continuous loop and returns a false value. Find Zero functions accept the two-dimensional array and check whether cell value is zero. If it is zero found return true otherwise it returns false.
Your answer is already in one decimal place. If you consider the whole number to one decimal place it would be rounded to just 10 since 0 doesn’t count for sig figs. Hope it helped
Answer:
4) 3 11 44
Explanation:
Given data
int [] val = { 3, 10, 44 };
The total number of parameters of given array are 3, so total length of array is also 3.
The indexing of array starts with '0', Therefore the indexes of array with length zero are: {0,1,2}
The value of array at index 0 is = 3
similarly,
value at index 1 = 10
value at index 2 = 44
Here, Int i = 1 is storing the value '1' in integer variable i.
In addition to that, any value of index 'i' of an array is selected using array[i].
Therefore,
val[i] is selecting the value of array located at index '1' because i = 1.
val[i] = val[1] = 10
val[i]+1 is selecting the value of array located at index 'i' that is (1) and adding 1 to it
=> val[i] = 10
=> val[i]+1 = 10+1 = 11
Finally,
val[i] = val[i]+1; is copying the val[i]+1 = 11 to value placed at index 1 (10). Hence, the output would be {3 11 44}. So 4th option is correct.