Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: help with averaging numbers .asp
09-25-2008, 09:39 PM #1
- Join Date
- Sep 2008
- Thanked 0 Times in 0 Posts
help with averaging numbers .asp
ok so let me first set up what i am working with . . . .
i am building a website and on one of the pages it has 3 boxes where you enter numbers then click a button and it redirectes you to a new page "threenums.asp" where it tells you what the highest of the three numbers is and what the lowest of the three numbers is. i also want it give me the average of the three numbers also.
right now in the .asp page i have all my if statements in <% %> brackets.
now how do i write this averaging code on the .asp page so that it will call it when someone clicks the submit button on the threenums.htm page.
does the code on the .asp page also go into the brackets???
any help would be useful as i am very new with java as well as programming.