Answer:
cubeVolume = toThePowerOf(cubeSide, 3)
Explanation:
The function toThePowerOf, receives two int arguments say, a and b, where a is the first argument and b is the second argument as follows:
toThePowerOf(a,b)
The function returns the first argument(a) raised to the power of the second argument (b) i.e a ^ b as follows:
toThePowerOf(a, b){
return a^b
}
In the call to the function, the first argument a, is replaced with the variable cubeSide and the second argument b is replaced with the value 3.
Hence, the returned result becomes cubeSide ^ 3 which is then stored in a variable cubeVolume as follows:
cubeVolume = toThePowerOf(cubeSide, 3)
Answer:
b) Reliability.
Explanation:
When the program gives correct output and fulfills the customer's requirements it is said to be reliable and said to be achieving reliability.
Correctness is when the program only provides correct solution.
Efficiency is when the program does the work in less time.
Usability means that the program is usable or not.
Answer:
cout<<count;
Explanation:
The above statement is in c++ which display the value of count .The cout statement is used in c++ to print the value on console .
Following are the code in c++
#include <iostream> // header file
using namespace std; // namespace
int main() // main method
{
int count=90; // count variable
cout<<count; // display the value of count
return 0;
}
Output:
90
In this program we have declared a count variable of integer type which is initialized by 90 and finally displays the value of count on the screen.