Answer:
int* calculate(int a,int b,int c){
int result[] = {0,0};
int sum = a+b+c;
int product = a*b*c;
result[0] = sum;
result[1] = product;
return result;
}
Explanation:
The function is a block of the statement which performs the special task.
The function can return one integer, not more than one integer.
If we want to return multiple values then, we can use array.
we store the result in the array and return that array to the main function.
This is the only possible way to return multiple values.
So, define the function with return type array and declare the array with zero value.
Then, calculate the values and store in the variable after that, assign to the array.
Finally, return that array.
<h3>ANSWER:The main reason why laptops are more expensive than desktops is in the development costs to create hardware that is compact enough and at the same time meeting an expected level of performance.</h3>
<h3>And it’s not just performance that is a big challenge. It is also keeping the system cool enough that stability is maintained under most common usage conditions</h3>
Answer:
OA.
MTurk(mechanical turk)
Explanation:
Mechanical Turk is a Microwork service provided by Amazon. Correct answer: C It is an online “crowdsourcing” marketplace that was launched in 2005 by Amazon.
This site (service) allows businesses and individuals to post short tasks and pay workers to complete them.
The statement which best explains how algorithms running on a computer can be used to solve problems is; D. Some problems cannot be solved by an algorithm.
<h3>What is an algorithm?</h3>
An algorithm is simply a standard formula or procedures which is made up of a set of finite steps and instructions that must be executed on a computer, so as to proffer solutions to a problem or solve a problem under appropriate conditions.
However, it should be noted that it is not all problems that can be solved by an algorithm, especially because the required parameters and appropriate conditions are not feasible or met.
Read more on algorithm here: brainly.com/question/24793921