write a simple while-loop html program?

I need to write a program that asks a person to enter a number. Then have her enter a second number. Keep asking for entries until she enters a zero at which time the program adds all the values and reports the sum in an output box . (Hint: Use a while loop to test for the zero value entry.) Help? Thanks!
 
i really hope this is not verbatim from your homework since an html file is not a program and while-loops are not created in html
 
Back
Top