Answer:
The method in C++ is as follows:
double average(int v, int w, int x, int y, int y){
double ave = (v+w+x+y+z)/5.0;
return ave;
}
Explanation:
This defines the average method with 5 parameters
double average(int v, int w, int x, int y, int y){
This calculates the average
double ave = (v+w+x+y+z)/5.0;
This returns the calculated average
return ave;
}
To call the method from the program's main, use:
<em>int main(){</em>
<em> cout<<average(1,5,7,4,10);</em>
<em> return 0;</em>
<em>}</em>
<em />
Correct answer is B. had this question in the past
Lower row keys. Your welcome
Answer:
Option A is correct.
Explanation:
He attaches the second 1 Gigabyte 240 pins DIMM for his system the overall RAM will be up around 2 Gigabytes. System is fitted with Intel Core 2 Dual 3-GHz cpu as well as three 240 pins DIMM ports on the motherboard. Transforms on a system, just 1 Gigabytes of RAM is seen through that RAM count.
Thus, the following issue is much more probably to be the failure to correctly grab that RAM.