Computer Science, asked by starchase, 8 months ago

write a program in java using mth.min in a if statement to provide the smallest number​

Attachments:

Answers

Answered by Anmolabd
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 nishadhani7
1

Answer:

I TAKE Economics......

Similar questions