A________ is the smallest element of a program
Answers
Answered by
0
Explanation:
ते ते 6 7 ❤️ आहे का इथे चूक आहे 3 आणि नमस्कार आणि आहे त्या 2
Answered by
0
Answer:
•This can be achieved by maintaining a variable min which initially will hold the value of the first element.
...
•Program:
for (int i = 0; i < arr. length; i++) {
//Compare elements of array with min.
if(arr[i] <min)
min = arr[i];
•}
•System. out. println("Smallest element present in given array: " + min);
•}
•}
Similar questions