write a program in java using mth.min in a if statement to provide the smallest number
Attachments:
Answers
Answered by
3
Explanation:
Java Program to find Smallest Number in an Array
public class SmallestInArrayExample{public static int getSmallest(int[] a, int total){int temp;for (int i = 0; i < total; i++){for (int j = i + 1; j < total; j++){if (a[i] >
Answered by
1
Answer:
I TAKE Economics......
Similar questions