- 3

Number Manipulation

a. Searches for the highest value among entered values public static double max(double arr[]) b. Searches for the lowest value among entered values public static double min(double arr[]) c. Searches for the highest odd among entered values public static double maxOdd(double arr[]) d. Searches for the highest even among entered values public static double maxEven(double arr[]) e. Searches for the lowest odd among entered values public static double minOdd(double arr[]) f. Searches for the lowest even among entered values public static double minEven(double arr[]) g. Sort the elements in descending order using any sorting algorithm. public static double sort (double arr[])

24th Aug 2021, 4:54 PM
Call John
Call John - avatar
2 ответов
+ 7
Call John , can you please ask a clear and concise question? to get useful help from the community,  we need to see your attempt first. without having seen your code, it is difficult to find out where the issue is. => please put your code in playground and link it here thanks!
24th Aug 2021, 4:58 PM
Lothar
Lothar - avatar