Answer:
#include <iostream>
#include <math.h>
using namespace std;
int to_the_power_of(int first, int second){
int result = pow(first, second);
return result;
}
int main()
{
int side;
cout<<"Enter the side of cube: ";
cin>>side;
int volume = to_the_power_of(side, 3);
cout<<"The volume is "<<volume<<endl;
return 0;
}
Explanation:
include the library iostream and math.h for using the input/output instruction and pow() function.
create the main function and declare the variable.
then, print the message for asking to enter the value from user.
the enter value is then store in the variable using cin instruction.
then, call the function with two parameters. program control move to the define function and calculate the first parameter raised to the power of the second parameter.
then return the result to the main function and finally print the result.
Answer:
The correct answer to the following question will be "GNU General Public License".
Explanation:
GNU General Public License:
- This is a commonly used free and license open source that ensures the right to operate, test, distribute and change the program for end-users.
- To prevent the GNU program from becoming proprietary, Richard Stallman developed the GPL. It is a basic use of his idea of the "copyleft."
If an individual alters and downloads a free software program, the program will then be uploaded with another name, then they would have to use this type of software license.
Answer:
Beeper
Explanation:
A buzzer pr beeper, as security device, converts electrical energy to sound energy.
Answer:
2. The texture is being use to look sturdy
3. some repetition are being repeated for example the blocks
4. No it because of the words
5. The words at the bottom
It my opinion so it might not be correct
XOR is 1 when either of the inputs is 1 but not when they both are.
1 xor 1 = 0