Advertisement
akosiraff

Sales Analysis JAVA

Oct 21st, 2013
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/sales-analysis-java/
  3. The file SalesData.txt (below) contains the dollar amount of sales that a retail store made each day for a numberof weeks. Each line in the file contains seven numbers, which are the sales numbers for one week.
  4. The numbers are comma delimited. The following line is an example from the file:
  5. 2541.36, 2965.88, 1965.32, 1845.23, 7021.11, 9652.74, 1469.36
  6. Write a program using mainly methods within or outside a class definition to open the SalesData.txt file
  7. and process its contents. The program should display the following on screen in the form of pop-ups.
  8. The same results should be duplicated in an output file that you will call SalesAnalysys.txt. Include SalesAnalysis.txt as part of your submission.
  9. • The total sales for each week
  10. • The average daily sales for each week
  11. • The total sales for all the weeks
  12. • The average weekly sales
  13. • The week number that had the highest amount of sales
  14. • The week number that had the lowest amount of sales
  15.  
  16. Download: http://solutionzip.com/downloads/sales-analysis-java/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement