Problem Description:The Auraria Recreation Company (ARC) provides products in the Denver Metro area. ARC has stores in Denver, Littleton, Boulder and Aurora. They rent and sell sporting equipment such...

Problem Description:The Auraria Recreation Company (ARC) provides products in the Denver Metro area. ARC has stores in Denver, Littleton, Boulder and Aurora. They rent and sell sporting equipment such as skis and snow boards, bicycles, kayaks and sup boards. They also sell apparel including ski/board jackets and pants, bicycle shirts and pants, swim suits, rash shirts and board shorts. ARC needs a transaction report of sales for each day. This report must first display the store location, date and tax rate, each displayed only this one time. Then the report will display an output line for each sales record showing the transaction number, retail amount, discount flag and the actual transaction amount paid by the customer. After all sales records are displayed a report summary is required to display the total retail amount, total discount amount, total transaction amount and the average transaction amount. The summary must also identify the "transaction with the smallest transaction amount" by displaying the transaction amount and associated transaction number. In the event of multiple instances of the smallest only the first instance should be reported.Company policy dictates that a discount rate of 5% be applied when the retail amount on a single sale is greater than $1,500. The discount flag column is used to signify whether or not a discount was applied to the sale. The word "Discounted" or "No" should be displayed in the output report under this column to document that a discount "was" or "was not" applied to each transaction.The transaction amount is determined by taking the retail amount less the discount, if applicable, and then multiply the difference by the tax rate. The tax rate can vary by store location so it is an input field.
The average transaction amount is determined by dividing the total transaction amount by the number of transactions that day.All monetary values should be displayed with at least two decimal positions to ensure those values are expressed in dollars and cents.At this time the solution only needs to deal with a single store. Each store has a $9,000 retail limit for any one sale.The sales data is currently accumulated and entered as a single batch at the end of the day already organized and sorted by transaction number. ARC is willing to enter the data which consists of the store location, date and tax rate (these three fields are input once) followed by each sales record containing the transaction number & retail amount. A 0 value for transaction number indicates the end of sales records.A subset of data for a typical day is given for you to test your models.
CIS 2110 Project #1 Test DataAuraria Recreation Company Daily TransactionsSTORE: LittletonDATE: August 15, 2014TAX RATE: 8%Transaction NumberRetail Amount111234.55224321.95336789.95441111.95554567661111.95777788.95881111.950

Develop a java program
1.The initial original input information; Store Location, Date and Tax Rate, should appear "after all" the transaction details are displayed.2.The per transaction detail output fields; Transaction Number, Retail Amount, Discount Flag & Transaction Amount for every output record must be displayed to the screen all at once in a table with neatly aligned columns and appropriate column headings (see below).3.The summary output must follow after the per transaction detail output and include headings/titles and values for the Store, Date, Tax Rate, Total Retail Amount, Total Discount Amount, Total Transaction Amount, Average Transaction Amount, Low Transaction Amount, Transaction Number having a transaction amount matching the Low Transaction Amount must be reported.The systems analyst for this project has imposed some technical requirements on the implementation. Thus the Java Program from Project 3 must be modified as follows:1.The Java program must have appropriate internal documentation/comments at the beginning of the source code listing:oan appropriate titleoyour name as the author2.The Java program must have, as the first output(s) to the screen:oan appropriate titleoyour name as the author
3.Declare four (4) one-dimensional arrays that are named transNum, retailAmt, discountFlag & transAmt to store values for the Transaction Number, Retail Amount, Discount Flag & Transaction Amount for each record.otransNum should be an int arrayoretailAmt should be a float or double arrayodiscountFlag should be a String arrayotransAmt should be a float or double array
4.You may create additional arrays if you find it useful in solving the problem.5.The values for any/all of the original Input fields, as defined by the test data, can either be initialized within the Java source code and/or be input from the keyboard to store the Project 1 Test data.6.The values for the discountFlag and transAmt arrays must be assigned/calculated by the program during the execution of the program.7.You must use at least one for loop to process the arrays.8.If there is input from the keyboard then no report output should display until "after all input is complete".9.The per item detail portion of the report should display the data stored in:transNumretailAmtdiscountFlagtransAmtto the screen in a table format with neatly aligned columns and appropriate column headings as seen in the example below. Each array should represent a column in the output.Note: Use of the tab and/or space characters within the output string helps to make columns.10.The summary portion of the report should display the data values along with appropriate titles/headings laid out neatly in a horizontal or vertical order.11.All decimal output must have two decimal places with commas and trailing zeroes displaying when needed.•All monetary values must display with a leading dollar sign ($).•All monetary values must display with 2 decimal places with commas (when needed) and trailing zeroes.•This includes all floating point variables whether or not the variables are stored in an array.Here is an example of what the program execution could resemble.
$ java Project5Driver==========================================================Solution for Proj #5ARC Daily Transaction Reportby Annette Lege====================================================================================================================ARC Daily Transaction Report SummaryTrans # Retail Amt Disc Flag Trans Amt11 $1,234.55 No $1,333.3122 $4,321.95 Discounted $4,434.3233 $6,789.95 Discounted $6,966.4944 $1,111.95 No $1,200.9155 $4,567.00
May 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here