1.2 Java Input Dialog Boxes

After completing this program you should be able to :

Note: import javax.swing.*; statement is required for the inputDialog box

Part 1 Enter the Program

Part 2

Add a new method to the above program similar to the inputInteger() method for doubles