Answer:
Answered below
Explanation:
public int daysSinceLastWeighed(int today)
Method is public which means it is visible to other classes. It returns an integer which is indicated as int. Next is the method's name which clearly describes what the method does 'days since last weighed'. The opening and closing parentheses enclose the integer parameter named today. This is the function header.
Read the instructions right, youll get ir done
2 + 3 + 4 = 9 so the value of result is also 9
Answer:
ArraySize = ($ - newArray)
Explanation:
Given
Array name: newArray
Type: DWORD
Required
The size of the array in bytes
The following formula is used to calculate the size of an array in assembly language.
Variable = ($-Array name)
So, we have:
ArraySize = ($ - newArray)
<em>Where ArraySize is the variable that holds the size of newArray (in bytes)</em>