Answer:
The method definition to this question can be given as:
Method definition:
double max(double x, double y) //define method with double parameter
{
if (x>=y) //check condition.
return x; //return value
else
return y; //return value
}
double max(int x, int y) //define method with integer parameter
{
if (x>=y) //check condition
return x; //return value
else
return y; //return value
}
double max(char x, char y) //define method with char parameter
{
if (x>=y) //check condition
return x; //return value
else
return y; //return value
}
Explanation:
The above method definition can be described as below:
- In the first method definition first, we define a method that is "max()". In this method we pass two variables as a parameter that is "x and y" and the datatype of this is double. Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
- In the second method definition, we define a method that is same as the first method name but in this method, we pass two integer variable that is "x and y". Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
- In the third method definition, we define a method that is same as the first and second method name but in this method, we pass two char variable that is "x and y". Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
Answer:
I do not know that answer
1. Motherboard (you plug all other components to it)
2. Processor (CPU)
3. Memory (RAM)
4. Graphics card
5. Sound card (sometimes integrated with motherboard)
6. Hard Disk Drive (HDD)
7. Power supply unit
Application I think because software used to create a program is called application software I'm not entirely sure about that though
Answer:
For a Know Simple query, a Fully Meets rating can be given if the result does not display the answer, but it is at the very top of the landing page.
B) False
Explanation:
- A know simple query is special form of a know query. The query which are intended to know something like what is the length of pitch of a cricket ground?
- A know simple query is such a know query that can be described in very little amount of words.
- A know simple query would only get the fully meet ratings if the result shown has the result in a special result block or it is shown upfront. You don't need to open a link to get the answer in such scenario.