- Category:
- Ajax
- Tags:
-
[WORD]
- File Size:
- 94kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- crazyhlw
Description: Experimental purposes: 1 A Java applet to display information. (2) create and use. (3) use the methods of the Math class. Description of the problem: a garage less than three hours, a minimum charge of $ 2.00. If more than three hours, an increase of $ 0.5 per hour. Less than 24 hours, the maximum fee is $ 10.00. Assume that no vehicles will stop for more than 24 hours. Write an applet, is calculated and displayed yesterday, each cost of parking in the parking garage customers. Each customer parking shall be entered in a JtextField hours. The program should display the cost to the customer, and calculate yesterday' s total revenue, the result is displayed in the status bar. The procedures should to use calculateCharges to determine the cost of each customer. Using a variety of values to test the program.
To Search:
File list (Check if you may need any files):
java4.doc