Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

Q4: Writing Algorithms: Write an algorithm (expressed in pseudocode) which when given a set of N positive numbers, finds the number with the largest value. (Hint: Let “Max” be initialized to 0 and then loop through the numbers looking for anything bigger that the current value of “Max”. Let “Max” have the newly found larger value and continue looking at each number in the list until there are no more numbers).

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!