answersLogoWhite

0

Take the first number in the set and compare it against the second.

If the second is higher, take that number otherwise keep the first

Repeat with all the numbers in the set, comparing the highest found so far with the next number in the set, taking the higher of the two until all the numbers in the set have been checked. The number with which you remain will be the highest.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

Add your answer:

Earn +20 pts
Q: How do you find the maximum in a set of numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp