The statement can be written as " int result = cube(4); ".
A function is a block of reusable codes to perform some tasks. For example, the function in the question is to calculate the cube of a number.
A function can also operate on one or more input values (argument) and return a result. The cube function in the question accepts one input value through its parameter number and the number will be multiplied by itself twice and return the result.
Simply enter the function name, followed by parenthesis, to invoke it (for example, cube()). We can use zero, one, or many values as arguments within the parenthesis (for example, cube(4)).
The function's return output can then be assigned to a variable using the " = " operator (for example, int result = cube(4)).
To learn more about function refer to:
https://brainly.com/question/179886
#SPJ4