Question #256681

Write an algorithm to allow users to enter a quantity of numbers until a negative number is entered. Then display the highest and lowest number entered.

  1. Use a do-loop-until to determine the answer.

Expert's answer

Numbers=input("Input any number")
Do
Numbers
Loop Until Numbers<0
Max=max(Numbers)
Min=min(Numbers)
Print("The highest number was "+Max+", the lowest number was "+Min)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS