class Investment {
  public static void main(String[] args)
    {

        double endValue, initInvest, annPercentRate;
        int years;


        // get initInvest,annPercentRate and years using an InputDialogBox

        // Compute endValue

        // Display endValue using a MessageDialogBox


        System.exit(0);
    }
}