Overload the average method of Exercise 5.22 such that if three integers are provided as parameters, the method returns the average of all three.
What will be an ideal response?
```
public double average(int num1, int num2, int num3)
{
return (num1 + num2 + num3) / 3.0;
}
```
Computer Science & Information Technology
You might also like to view...
A shot is a piece of the story that is told with the camera in multiple positions.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
What class does the Integer class inherit from?
What will be an ideal response?
Computer Science & Information Technology
The ____________________ is a distributed file system protocol for allowing remote access to shared resources across networks.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
A computer system is a collection of unrelated components that work independently of one another
Indicate whether the statement is true or false
Computer Science & Information Technology