Yes. A program that collects numberical input from
the user and outputs the results of a calculation
can be based on this program.
If it needs more input values,
add more JTextFields and JLabels.
You have reached the end of the chapter. You may wish to review the following. Click on a subject that interests you to go to where it was discussed.