Advertisement

Main Ad

find maximum or minimum value in a numeric array in java solution


TaskOne:
 find maximum or minimum value in a numeric array using different methods which are given below
methods 1)---->sorting,
methods 2)----> Linear Search through the array,
using java.

sorting method for finding max and min values in arrays :



Linear Search method  for finding max and min value in array:



when you made upto this , you can call the methods in main class as given below:




Post a Comment

0 Comments