Answer:
sqrt(area)
Explanation:
- Here sqrt is a short form of square root.
- area is a variable name having he area of square.
- When the function is called, it will give the square root of the value stored in variable area.
As we have to find the length of the diagonal, we must knew that as all sides of the square are same in length so are the diagonals. This means that each of the four sides of the square and it diagonals are equal in length.
So a square has: length=breadth=diagonal
As Area= length*breadth
√area = length (as length = diagonal length)
So √area = diagonal length
In a file extension, it tells what type of file it is and tells what compiler to run the code.
The name of the user defined function is: footballMatch
Answer:
Array: (a) All the messages a user has sent.
Variable: (b) The highest score a use has reached on the app. (c) A username and password to unlock the app.
Explanation:
An array generally has more than one value whereas a variable can only contain a single value at any particular point in time. In addition, a variable has a limit whereas an array does not have any maximum limit. Therefore, it can be concluded that option (a) will be stored as an array while options (b) and (c) will be stored as variables.