Ask Question
10 March, 12:36

Write a statement that declares a prototype for a function minMax, which has five parameters. The first three parameters are integers. The last two are parameters that are set by the function to the largest and smallest of the values of the first three parameters. The function does not return a value.

+2
Answers (1)
  1. 10 March, 14:57
    0
    public static void minMax (int num1, int num2, int num3, int smallest, int largest) {

    }

    Explanation:

    The function declaration above is in Java programming Language The access modifier (public) is optional it could be private as well static because it is found within same class as the main method void because it will return no value The parenthesis contain the parameters as specified by the question
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a statement that declares a prototype for a function minMax, which has five parameters. The first three parameters are integers. The ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers