Thursday, 19 September 2013

continue or cancel java

continue or cancel java

Ok, so I'm pretty new to programming and I'm making a very basic tax
program. I cannot use jQuery. I need to make a method that returns either
stop or continue from the user. Then I need:
while (answer equals continue){
code
code
code
call a method that returns either stop or continue from the user
}//end of while
I tried using JOptionPane in a method but I couldn't figure out how to use
that method in the 'while' portion.
Thank you for your help!

No comments:

Post a Comment