Computer Science, asked by rupalinalawade2583, 1 month ago

A________ is the smallest element of a program​

Answers

Answered by bansodenageshwar
0

Explanation:

ते ते 6 7 ❤️ आहे का इथे चूक आहे 3 आणि नमस्कार आणि आहे त्या 2

Answered by krishnasaranb123
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
Math, 1 month ago