Overload the average method of Exercise 5.22 to accept four integer parameters and return their average.
What will be an ideal response?
```
public double average(int num1, int num2, int num3,
int num4)
{
return (num1 + num2 + num3 + num4) / 4.0;
}
```
Computer Science & Information Technology
You might also like to view...
The root user can start the Mail Server Configuration Wizard with the ____ mail command.
A. yast B. yast2 C. mail D. mail2
Computer Science & Information Technology
Multiple copies are only accumulated in the Clipboard when the Clipboard task pane is open
Indicate whether the statement is true or false
Computer Science & Information Technology
All implementations of Ethernet use the same frame type as the original Ethernet networks.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
A convenient way to zoom and move around a photo is to use the Tools panel. _________________________
Answer the following statement true (T) or false (F)
Computer Science & Information Technology