The answer would be to multiply the binary code with all results from the formula Samuel used to encode the desired number, until he gets 59 as a result.
(P.s. 111011 isn't 59, it results in a semicolon if you convert it using an binary code translator. It rather states that 00110101 00111001 is 59)
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:
876100
019343
Explanation:
10s complement of a decimal number is obtained by the following process:
- Obtain 9s complement ( Subtract each digit by 9)
- Add 1 to the result
1) 123900
9s complement => (9-1)(9-2)(9-3)(9-9)(9-0)(9-0)
= 876099
Adding 1 , 10s complement of 123900 = 876100
2) 980657
9s complement = (9-9)(9-8)(9-0)(9-6)(9-5)(9-7)
= 019342
Adding 1 , 10s complement of 980657 = 019343
Metadata is the other term for document properties. It is a data that describes another data. The word “meta” means “an underlying definition or description”. Traditionally, it was used in libraries as card catalogs. In digitals, metadata is also used to describe digital data.