Ask Question
17 October, 04:23

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.

+1
Answers (1)
  1. 17 October, 05:40
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers