Ask Question

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. 8 March, 16:08
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers