*6.5 (Sort three numbers) Write a method with the following header to display three numbers in increasing order:public static void displaySortedNumbers(double num1, double num2, double num3)Write a test program that prompts the user to enter three numbers and invokes the method to display them in increasing order.
*6.5(对三个数字进行排序)编写一个具有以下标题的方法,以递增顺序显示三个数字:public static void DisplaySortedNumber(double num1、double num2、double num3)编写一个测试程序,提示用户输入三个数字,并调用该方法以递增顺序显示它们。