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

Microsoft Movie Maker is an example of free ________

A) image-editing software B) digital video-editing software C) web design software D) presentation software

Computer Science & Information Technology

What are the key properties and features of a router versus a switch?

What will be an ideal response?

Computer Science & Information Technology