"Use WHILE. Write an application that calculates the product of the
odd integers from 1 to 15 and then displays the result."
How would I do this?
Do you know what a while loop is? Can you write one? Were you
present when you instructor taught about while loops? If not then you
will need to read you Java book about while loops or ask your
instructor.
Do you know what "product" means in this context? If not then ask
your instructor for clarification.
Do you know what an "odd integer" is? If not then consult a maths
text or ask your instructor.
Do you nkow how to display the reesult? If not then consult your Java
book or ask your instructor.
At this point you should understand the question. You can make your
first attempt at writing the answer. Test your attempt and fix any
errors. If you find you cannot fix a problem than post your code here
and we can help you. You need to post code for two reasons: first to
show that you are willing to do the work yourself and second to let us
get a handle on how much you know so we can tailor our advice to your
level of skill.
The product of all the odd integers from 1 to 15 is 2027025, which you
will need to know when you are checking your solution.
rossum