hey, can someone tell me how to complile this program, please!!!!

1. Write a banking program that will do the following: [50 pts]

a)Create a Customer class with the appropriate set of attributes and methods to accommodate the activities listed below. All calculations should be the responsibility of methods defined in the Customer class.

b)Create a constructor to populate the attributes from user input as follows:

Prompt the user to:

刋Enter the customerˇs account number.

-Store the value entered into the customerˇs account number field.

刋Enter an initial deposit amount.

-Store that amount in the customerˇs balance.

c)Prompt the user for, and allow the user to enter a series of transactions as well as the amount of each transaction. The user should be allowed to enter as many transactions as wanted for a single customer. When a given transaction is completed the processing should return to the main menu, which will prompt the user for the following.

刋Enter 1 for deposit.

-If the user entered 1 then prompt the user for the amount of the

Deposit and add that amount to the user's balance.

刋Enter 2 for withdrawal.

-If the user entered 2 then prompt the user for the amount of the withdrawal and subtract that amount from the user's balance.

-If there is not enough money in the account to cover the withdrawal give the user an error message and reject the withdrawal request.

刋Enter 3 for balance inquiry

-If the user entered 3 then display the amount remaining in the

user's account.

刋Enter 9 to terminate the session.

-If the user enters 9 end the transaction and stop processing.

d) Use JOptionPane to display the following activity summary when finished

Customer Name  XXXXXXXXXXXX

Customer Id  99999999

Starting Balance  99999.99

Total Deposits  999999.99

Total Withdrawals  99999.99

Closing Balance  99999.99

[1942 byte] By [NeedToKnowa] at [2007-10-2 11:16:44]
# 1
In order to complete your assignment, I would suggest that you should start by reading and doing the examples from http://java.sun.com/docs/books/tutorial/index.html
Caffeine0001a at 2007-7-13 4:07:07 > top of Java-index,Archived Forums,Java 2 Software Development Kit (J2SE SDK)...