0

I am trying to make a program that finds the max and min of more than 2 inputs and i am trying to use the Math.Min and Math.Max method but i cant seem to get them too work since they only accept 2 parameters.

this is what i tried to use

```
public static int max(int a, int b, int c);
int max = Math.max(a) Math.max(b) Math.max(c);
```

can anyone help me try to find the max and min of more than 2 values please. thanks.