Description: Array of calls,+,- symbols such as the location of processing
Write a statistical procedure for the employment situation.
Program can:
a) allows the user to input the following format to add or reduce employment opportunities:
August 27
b) Statistics: 1. monthly changes in employment
Two. The best month of employment
3. The worst month of employment
Process variable EmploymentStatistics the records of the number of months of employment, and provide methods netChange, worstMonth, bestMonth.
For example, user input is:
August 27 February-6 March 120 April 62 May-90 June 21 May 30 July 82
October 100 August-4 September 22 December 43 October-20 September 15 October 40
Procedure results:
Month Net Jobs
January 0
February-6
March 120
April 62
May-90+30 =-60
June 21
July 82
August 27-4 = 23
September 22+15 = 37
October 100-20+ 40 = 120
November 0
December 43
the total number of jobs for the year: 442
b ii: the month
To Search:
File list (Check if you may need any files):
JAVA.doc