0
I have a question about how to do the following exercise in PHP using HTML forms:
Make an algorithm that reads a sequence of integer numbers. If the user type a negative number the algorithm should return the average of the numbers typed (without the negative value).
In another programming language, I would create a loop of repetition with the stop condition being the value read be a negative number, but I do not know how to do this for a POST request, which was requested by the teacher. If you could help me, I’d be most grateful.