Yes. Any program that uses a formula
to calculate a result based on user
input could be created by "hacking" upon this one.
If you need 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.