@Ajan
Posting exact answers, particularly code, is discouraged. The goal of these forums is to help one reach a goal, not reach it for him/her. For a more in-depth reasoning, please read this.
...
Type: Posts; User: snowguy13
@Ajan
Posting exact answers, particularly code, is discouraged. The goal of these forums is to help one reach a goal, not reach it for him/her. For a more in-depth reasoning, please read this.
...
Do you have any code so far (if so, please post it)?
For getting input and displaying simple messages, I suggest using JOptionPane. Specifically, use JOptionPane.showInputDialog() for input and...