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...

In a manufacturing enterprise resource planning (ERP) system, demand management _______.

A. creates sales forecasts based on historical data B. determines detailed production schedule C. determines the amount and timing for placing raw material orders with suppliers D. refines a production plan by determining the amount of weekly or daily production needed to meet the demand for individual products

Computer Science & Information Technology

?A(n) _________________________ is an object that is further composed of additional objects (examples of which include servers, printers, users, or groups of users).

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology