Menu
Hi, I’m very new to java and I’d like to know how to do this:
Design a web document that uses the JavaScript prompt function to ask the user for 6 negative, odd numbers and determine the total of those values. Use a WHILE loop and appropriate IF statement(s) to get these values from the user. If the user enters a valid number add that value to a variable called totalValue; otherwise keep asking for valid numbers. You should display to the screen the 6 valid values entered by the user plus the grand total of the six values.
Thanks,
Loverboy