answersLogoWhite

0

Assume that the greatest number is the first element (subscript zero). Compare with each element in the array (starting with subscript one), and every time you find one that is greater than the greatest so far, set your variable "greatest" to this number.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
JudyJudy
Simplicity is my specialty.
Chat with Judy

Add your answer:

Earn +20 pts
Q: How do you find greatest no using array in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp