Smallest Number and Finding the Index Of a Number Java

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

hi thanks for the video! I have a question, in the for loop would it be better to set i =0 instead of i=1 when finding the smallest value incase there is a 0 in the array?

cmccuehwt
Автор

hi, could you tell me how do i show the 10 biggest numbers in the array ? For example i made an array with100 random numbers and i want to shout the 10 biggest

XSource
Автор

but how do i find an index for maximum value if the numbers entered by user? the array value is not fixed. help!

afiqahnorza
Автор

what if there are more than one smaller numbers

prudhvi
Автор

hi i would be greatfull if u could help me i have to find a number in a line. for example 2, 5, 3, 4, 5, 6, 6, 7 and i have to find if 5 is on 2 place and 6 on 5th place. thank you

aleksandarmiladinovic