Answer to Question #256681 in Algorithms for Dion Martins

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.
1
Expert's answer
2021-10-28T05:37:59-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS