Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

write a method that finds the maximum element in an array of double val-ues using the following header: public static double max(double[] array) write a test program that prompts the user to enter ten numbers, invokes this method to return the maximum value, and displays the maximum value. the program must then ask if the user wants to continue with another array of numbers. if the user enters "y", the program will start a new conversion. other-wise, it’ll stop.